Bump the uv group across 1 directory with 5 updates #46
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
| # Copyright 2025 NV Access Limited | |
| # | |
| # This file is part of the NVDA Remote Access Relay Server. | |
| # | |
| # NVDA Remote Access Relay Server is free software: you can redistribute it and/or modify it under the terms | |
| # of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of | |
| # the License, or (at your option) any later version. | |
| # | |
| # NVDA Remote Access Relay Server is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; | |
| # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero | |
| # General Public License for more details. | |
| # | |
| # You should have received a copy of the GNU Affero General Public License along with NVDA Remote Access Relay | |
| # Server. If not, see <https://www.gnu.org/licenses/>. | |
| name: Run automated tests | |
| on: push | |
| jobs: | |
| coverage: | |
| name: Check coverage with coverage.py | |
| runs-on: ubuntu-latest | |
| permissions: {} | |
| steps: | |
| - uses: actions/checkout@v4.2.2 | |
| - uses: ./.github/actions/setup-environment | |
| - name: Run unit tests | |
| run: uv run coverage run | |
| - name: Report coverage | |
| run: uv run coverage report --format markdown >> $GITHUB_STEP_SUMMARY | |
| - name: Generate coverage artifacts | |
| if: ${{ failure() }} | |
| run: | | |
| uv run coverage html --fail-under 0 | |
| uv run coverage xml --fail-under 0 | |
| uv run coverage json --fail-under 0 | |
| uv run coverage lcov --fail-under 0 | |
| uv run coverage annotate | |
| - name: Upload artifacts | |
| if: ${{ failure() }} | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: Coverage reports | |
| path: | | |
| coverage.json | |
| coverage.lcov | |
| coverage.xml | |
| htmlcov/ | |
| *.py,cover |