-
-
Notifications
You must be signed in to change notification settings - Fork 688
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
61 changed files
with
799 additions
and
206 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,16 @@ | ||
version: 2 | ||
updates: | ||
# GitHub Actions | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
commit-message: | ||
prefix: ⬆ | ||
# Python | ||
- package-ecosystem: "pip" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
commit-message: | ||
prefix: ⬆ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Smokeshow | ||
|
||
on: | ||
workflow_run: | ||
workflows: [Test] | ||
types: [completed] | ||
|
||
permissions: | ||
statuses: write | ||
|
||
jobs: | ||
smokeshow: | ||
if: ${{ github.event.workflow_run.conclusion == 'success' }} | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.9' | ||
|
||
- run: pip install smokeshow | ||
|
||
- uses: dawidd6/action-download-artifact@v2.24.2 | ||
with: | ||
workflow: test.yml | ||
commit: ${{ github.event.workflow_run.head_sha }} | ||
|
||
- run: smokeshow upload coverage-html | ||
env: | ||
SMOKESHOW_GITHUB_STATUS_DESCRIPTION: Coverage {coverage-percentage} | ||
SMOKESHOW_GITHUB_COVERAGE_THRESHOLD: 95 | ||
SMOKESHOW_GITHUB_CONTEXT: coverage | ||
SMOKESHOW_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
SMOKESHOW_GITHUB_PR_HEAD_SHA: ${{ github.event.workflow_run.head_sha }} | ||
SMOKESHOW_AUTH_KEY: ${{ secrets.SMOKESHOW_AUTH_KEY }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{% extends "base.html" %} | ||
{%- block scripts %} | ||
{{ super() }} | ||
<script src="https://cdn.jsdelivr.net/npm/qabot@0.4"></script> | ||
<script> | ||
// This prevents the global search from interfering with qa-bot's internal text input. | ||
document.addEventListener('DOMContentLoaded', () => { | ||
document.querySelectorAll('qa-bot').forEach((x) => { | ||
x.addEventListener('keydown', (event) => { | ||
event.stopPropagation(); | ||
}); | ||
}); | ||
}); | ||
</script> | ||
<qa-bot | ||
server="https://tiangolo-sqlmodel.docsqa.jina.ai" | ||
theme="infer" | ||
title="SQLModel Bot" | ||
description="SQLModel, SQL databases in Python, designed for simplicity, compatibility, and robustness." | ||
style="font-size: 0.8rem" | ||
> | ||
<template> | ||
<dl> | ||
<dt>You can ask questions about SQLModel. Try:</dt> | ||
<dd>Which Python version is supported?</dd> | ||
<dd>How SQLModel interacts with the database?</dd> | ||
<dd>How can I link tables?</dd> | ||
</dl> | ||
</template> | ||
</qa-bot> | ||
{%- endblock %} |
Oops, something went wrong.