fixing test configs #284
Workflow file for this run
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
| --- | |
| name: pytest | |
| "on": | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| pytest: | |
| permissions: | |
| # Gives the action the necessary permissions for publishing new | |
| # comments in pull requests. | |
| pull-requests: write | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.13" | |
| - name: Running pytest | |
| env: | |
| COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} | |
| run: | | |
| python -m pip install --quiet --no-cache-dir --upgrade uv | |
| uv run pytest | |
| uv run coverage run --source=thin_controller -m pytest | |
| - name: Upload coverage to Coveralls | |
| run: | | |
| uv run coveralls | |
| continue-on-error: true |