| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,8 +5,12 @@ updates: | |||
| 5 | 5 | directory: "/" | |
| 6 | 6 | schedule: | |
| 7 | 7 | interval: "daily" | |
| 8 | + commit-message: | ||
| 9 | + prefix: ⬆ | ||
| 8 | 10 | # Python | |
| 9 | 11 | - package-ecosystem: "pip" | |
| 10 | 12 | directory: "/" | |
| 11 | 13 | schedule: | |
| 12 | 14 | interval: "daily" | |
| 15 | + commit-message: | ||
| 16 | + prefix: ⬆ | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -19,9 +19,9 @@ jobs: | |||
| 19 | 19 | env: | |
| 20 | 20 | GITHUB_CONTEXT: ${{ toJson(github) }} | |
| 21 | 21 | run: echo "$GITHUB_CONTEXT" | |
| 22 | - - uses: actions/checkout@v2 | ||
| 22 | + - uses: actions/checkout@v3.1.0 | ||
| 23 | 23 | - name: Set up Python | |
| 24 | - uses: actions/setup-python@v2 | ||
| 24 | + uses: actions/setup-python@v4 | ||
| 25 | 25 | with: | |
| 26 | 26 | python-version: "3.7" | |
| 27 | 27 | # Allow debugging with tmate | |
@@ -65,7 +65,7 @@ jobs: | |||
| 65 | 65 | run: python -m poetry run mkdocs build --config-file mkdocs.insiders.yml | |
| 66 | 66 | - name: Zip docs | |
| 67 | 67 | run: python -m poetry run bash ./scripts/zip-docs.sh | |
| 68 | - - uses: actions/upload-artifact@v2 | ||
| 68 | + - uses: actions/upload-artifact@v3 | ||
| 69 | 69 | with: | |
| 70 | 70 | name: docs-zip | |
| 71 | 71 | path: ./docs.zip | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -20,7 +20,7 @@ jobs: | |||
| 20 | 20 | latest-changes: | |
| 21 | 21 | runs-on: ubuntu-latest | |
| 22 | 22 | steps: | |
| 23 | - - uses: actions/checkout@v2 | ||
| 23 | + - uses: actions/checkout@v3.1.0 | ||
| 24 | 24 | with: | |
| 25 | 25 | # To allow latest-changes to commit to the main branch | |
| 26 | 26 | token: ${{ secrets.ACTIONS_TOKEN }} | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -10,9 +10,9 @@ jobs: | |||
| 10 | 10 | preview-docs: | |
| 11 | 11 | runs-on: ubuntu-20.04 | |
| 12 | 12 | steps: | |
| 13 | - - uses: actions/checkout@v2 | ||
| 13 | + - uses: actions/checkout@v3.1.0 | ||
| 14 | 14 | - name: Download Artifact Docs | |
| 15 | - uses: dawidd6/action-download-artifact@v2.9.0 | ||
| 15 | + uses: dawidd6/action-download-artifact@v2.24.0 | ||
| 16 | 16 | with: | |
| 17 | 17 | github_token: ${{ secrets.GITHUB_TOKEN }} | |
| 18 | 18 | workflow: build-docs.yml | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -15,9 +15,9 @@ jobs: | |||
| 15 | 15 | publish: | |
| 16 | 16 | runs-on: ubuntu-20.04 | |
| 17 | 17 | steps: | |
| 18 | - - uses: actions/checkout@v2 | ||
| 18 | + - uses: actions/checkout@v3.1.0 | ||
| 19 | 19 | - name: Set up Python | |
| 20 | - uses: actions/setup-python@v2 | ||
| 20 | + uses: actions/setup-python@v4 | ||
| 21 | 21 | with: | |
| 22 | 22 | python-version: "3.7" | |
| 23 | 23 | # Allow debugging with tmate | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,35 @@ | |||
| 1 | + name: Smokeshow | ||
| 2 | + | ||
| 3 | + on: | ||
| 4 | + workflow_run: | ||
| 5 | + workflows: [Test] | ||
| 6 | + types: [completed] | ||
| 7 | + | ||
| 8 | + permissions: | ||
| 9 | + statuses: write | ||
| 10 | + | ||
| 11 | + jobs: | ||
| 12 | + smokeshow: | ||
| 13 | + if: ${{ github.event.workflow_run.conclusion == 'success' }} | ||
| 14 | + runs-on: ubuntu-latest | ||
| 15 | + | ||
| 16 | + steps: | ||
| 17 | + - uses: actions/setup-python@v4 | ||
| 18 | + with: | ||
| 19 | + python-version: '3.9' | ||
| 20 | + | ||
| 21 | + - run: pip install smokeshow | ||
| 22 | + | ||
| 23 | + - uses: dawidd6/action-download-artifact@v2 | ||
| 24 | + with: | ||
| 25 | + workflow: test.yml | ||
| 26 | + commit: ${{ github.event.workflow_run.head_sha }} | ||
| 27 | + | ||
| 28 | + - run: smokeshow upload coverage-html | ||
| 29 | + env: | ||
| 30 | + SMOKESHOW_GITHUB_STATUS_DESCRIPTION: Coverage {coverage-percentage} | ||
| 31 | + SMOKESHOW_GITHUB_COVERAGE_THRESHOLD: 95 | ||
| 32 | + SMOKESHOW_GITHUB_CONTEXT: coverage | ||
| 33 | + SMOKESHOW_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| 34 | + SMOKESHOW_GITHUB_PR_HEAD_SHA: ${{ github.event.workflow_run.head_sha }} | ||
| 35 | + SMOKESHOW_AUTH_KEY: ${{ secrets.SMOKESHOW_AUTH_KEY }} | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -22,9 +22,9 @@ jobs: | |||
| 22 | 22 | fail-fast: false | |
| 23 | 23 | ||
| 24 | 24 | steps: | |
| 25 | - - uses: actions/checkout@v2 | ||
| 25 | + - uses: actions/checkout@v3.1.0 | ||
| 26 | 26 | - name: Set up Python | |
| 27 | - uses: actions/setup-python@v2 | ||
| 27 | + uses: actions/setup-python@v4 | ||
| 28 | 28 | with: | |
| 29 | 29 | python-version: ${{ matrix.python-version }} | |
| 30 | 30 | # Allow debugging with tmate | |
@@ -56,7 +56,43 @@ jobs: | |||
| 56 | 56 | - name: Lint | |
| 57 | 57 | if: ${{ matrix.python-version != '3.6.15' }} | |
| 58 | 58 | run: python -m poetry run bash scripts/lint.sh | |
| 59 | + - run: mkdir coverage | ||
| 59 | 60 | - name: Test | |
| 60 | 61 | run: python -m poetry run bash scripts/test.sh | |
| 61 | - - name: Upload coverage | ||
| 62 | - uses: codecov/codecov-action@v2 | ||
| 62 | + env: | ||
| 63 | + COVERAGE_FILE: coverage/.coverage.${{ runner.os }}-py${{ matrix.python-version }} | ||
| 64 | + CONTEXT: ${{ runner.os }}-py${{ matrix.python-version }} | ||
| 65 | + - name: Store coverage files | ||
| 66 | + uses: actions/upload-artifact@v3 | ||
| 67 | + with: | ||
| 68 | + name: coverage | ||
| 69 | + path: coverage | ||
| 70 | + coverage-combine: | ||
| 71 | + needs: [test] | ||
| 72 | + runs-on: ubuntu-latest | ||
| 73 | + | ||
| 74 | + steps: | ||
| 75 | + - uses: actions/checkout@v3 | ||
| 76 | + | ||
| 77 | + - uses: actions/setup-python@v4 | ||
| 78 | + with: | ||
| 79 | + python-version: '3.8' | ||
| 80 | + | ||
| 81 | + - name: Get coverage files | ||
| 82 | + uses: actions/download-artifact@v3 | ||
| 83 | + with: | ||
| 84 | + name: coverage | ||
| 85 | + path: coverage | ||
| 86 | + | ||
| 87 | + - run: pip install coverage[toml] | ||
| 88 | + | ||
| 89 | + - run: ls -la coverage | ||
| 90 | + - run: coverage combine coverage | ||
| 91 | + - run: coverage report | ||
| 92 | + - run: coverage html --show-contexts --title "Coverage for ${{ github.sha }}" | ||
| 93 | + | ||
| 94 | + - name: Store coverage HTML | ||
| 95 | + uses: actions/upload-artifact@v3 | ||
| 96 | + with: | ||
| 97 | + name: coverage-html | ||
| 98 | + path: htmlcov | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,9 +11,8 @@ | |||
| 11 | 11 | <a href="https://github.com/tiangolo/sqlmodel/actions?query=workflow%3APublish" target="_blank"> | |
| 12 | 12 | <img src="https://github.com/tiangolo/sqlmodel/workflows/Publish/badge.svg" alt="Publish"> | |
| 13 | 13 | </a> | |
| 14 | - <a href="https://codecov.io/gh/tiangolo/sqlmodel" target="_blank"> | ||
| 15 | - <img src="https://img.shields.io/codecov/c/github/tiangolo/sqlmodel?color=%2334D058" alt="Coverage"> | ||
| 16 | - </a> | ||
| 14 | + <a href="https://coverage-badge.samuelcolvin.workers.dev/redirect/tiangolo/sqlmodel" target="_blank"> | ||
| 15 | + <img src="https://coverage-badge.samuelcolvin.workers.dev/tiangolo/sqlmodel.svg" alt="Coverage"> | ||
| 17 | 16 | <a href="https://pypi.org/project/sqlmodel" target="_blank"> | |
| 18 | 17 | <img src="https://img.shields.io/pypi/v/sqlmodel?color=%2334D058&label=pypi%20package" alt="Package version"> | |
| 19 | 18 | </a> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,9 +11,8 @@ | |||
| 11 | 11 | <a href="https://github.com/tiangolo/sqlmodel/actions?query=workflow%3APublish" target="_blank"> | |
| 12 | 12 | <img src="https://github.com/tiangolo/sqlmodel/workflows/Publish/badge.svg" alt="Publish"> | |
| 13 | 13 | </a> | |
| 14 | - <a href="https://codecov.io/gh/tiangolo/sqlmodel" target="_blank"> | ||
| 15 | - <img src="https://img.shields.io/codecov/c/github/tiangolo/sqlmodel?color=%2334D058" alt="Coverage"> | ||
| 16 | - </a> | ||
| 14 | + <a href="https://coverage-badge.samuelcolvin.workers.dev/redirect/tiangolo/sqlmodel" target="_blank"> | ||
| 15 | + <img src="https://coverage-badge.samuelcolvin.workers.dev/tiangolo/sqlmodel.svg" alt="Coverage"> | ||
| 17 | 16 | <a href="https://pypi.org/project/sqlmodel" target="_blank"> | |
| 18 | 17 | <img src="https://img.shields.io/pypi/v/sqlmodel?color=%2334D058&label=pypi%20package" alt="Package version"> | |
| 19 | 18 | </a> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,6 +2,21 @@ | |||
| 2 | 2 | ||
| 3 | 3 | ## Latest Changes | |
| 4 | 4 | ||
| 5 | + * ✏️ Fix small typos in docs. PR [#481](https://github.com/tiangolo/sqlmodel/pull/481) by [@micuffaro](https://github.com/micuffaro). | ||
| 6 | + * 🔧 Update Smokeshow coverage threshold. PR [#487](https://github.com/tiangolo/sqlmodel/pull/487) by [@tiangolo](https://github.com/tiangolo). | ||
| 7 | + * 👷 Move from Codecov to Smokeshow. PR [#486](https://github.com/tiangolo/sqlmodel/pull/486) by [@tiangolo](https://github.com/tiangolo). | ||
| 8 | + * ⬆ Bump actions/setup-python from 2 to 4. PR [#411](https://github.com/tiangolo/sqlmodel/pull/411) by [@dependabot[bot]](https://github.com/apps/dependabot). | ||
| 9 | + * ⬆ Update black requirement from ^21.5-beta.1 to ^22.10.0. PR [#460](https://github.com/tiangolo/sqlmodel/pull/460) by [@dependabot[bot]](https://github.com/apps/dependabot). | ||
| 10 | + * ➕ Add extra dev dependencies for MkDocs Material. PR [#485](https://github.com/tiangolo/sqlmodel/pull/485) by [@tiangolo](https://github.com/tiangolo). | ||
| 11 | + * ⬆ Update mypy requirement from 0.930 to 0.971. PR [#380](https://github.com/tiangolo/sqlmodel/pull/380) by [@dependabot[bot]](https://github.com/apps/dependabot). | ||
| 12 | + * ⬆ Update coverage requirement from ^5.5 to ^6.2. PR [#171](https://github.com/tiangolo/sqlmodel/pull/171) by [@dependabot[bot]](https://github.com/apps/dependabot). | ||
| 13 | + * ⬆ Bump codecov/codecov-action from 2 to 3. PR [#415](https://github.com/tiangolo/sqlmodel/pull/415) by [@dependabot[bot]](https://github.com/apps/dependabot). | ||
| 14 | + * ⬆ Bump actions/upload-artifact from 2 to 3. PR [#412](https://github.com/tiangolo/sqlmodel/pull/412) by [@dependabot[bot]](https://github.com/apps/dependabot). | ||
| 15 | + * ⬆ Update flake8 requirement from ^3.9.2 to ^5.0.4. PR [#396](https://github.com/tiangolo/sqlmodel/pull/396) by [@dependabot[bot]](https://github.com/apps/dependabot). | ||
| 16 | + * ⬆ Update pytest requirement from ^6.2.4 to ^7.0.1. PR [#242](https://github.com/tiangolo/sqlmodel/pull/242) by [@dependabot[bot]](https://github.com/apps/dependabot). | ||
| 17 | + * ⬆ Bump actions/checkout from 2 to 3.1.0. PR [#458](https://github.com/tiangolo/sqlmodel/pull/458) by [@dependabot[bot]](https://github.com/apps/dependabot). | ||
| 18 | + * ⬆ Bump dawidd6/action-download-artifact from 2.9.0 to 2.24.0. PR [#470](https://github.com/tiangolo/sqlmodel/pull/470) by [@dependabot[bot]](https://github.com/apps/dependabot). | ||
| 19 | + * 👷 Update Dependabot config. PR [#484](https://github.com/tiangolo/sqlmodel/pull/484) by [@tiangolo](https://github.com/tiangolo). | ||
| 5 | 20 | ||
| 6 | 21 | ## 0.0.8 | |
| 7 | 22 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments