SEP-1908: Drive ty's error-severity diagnostics to zero so make typec… #861
This file contains hidden or 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
| # Store main-branch coverage data so PR coverage comments can display | |
| # evolution (old% -> new%). The py-cov-action commits coverage JSON to | |
| # the python-coverage-comment-action-data branch on pushes to main, and | |
| # subsequent PR runs read from it to compute the delta. | |
| name: Coverage (main) | |
| on: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| env: | |
| POETRY: poetry | |
| jobs: | |
| store-coverage: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Checkout codebase | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Setup Python | |
| uses: ./.github/actions/setup-python-job | |
| with: | |
| python-version: "3.11.9" | |
| cache: poetry | |
| - name: Install test dependencies | |
| run: poetry sync --no-root | |
| - name: Run tests | |
| run: make test | |
| - name: Store coverage data on data branch | |
| uses: py-cov-action/python-coverage-comment-action@63f52f4fbbffada6e8dee8ec432de7e01df9ba79 # v3.41 | |
| with: | |
| GITHUB_TOKEN: ${{ github.token }} |