chore(deps-dev): update uv-build requirement from <0.11.0,>=0.10.10 to >=0.11.14,<0.12.0 in /tests #413
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
| # This workflow will run pytest in the repository directory | |
| # This runs on pull request or on any push to the repository | |
| # based on https://www.youtube.com/watch?v=uFcXrWT4f80 | |
| name: Run tests | |
| on: | |
| pull_request: | |
| branches: ['main', 'semver2'] | |
| push: | |
| branches: ['main', 'semver2'] | |
| release: | |
| types: [prereleased, published] | |
| schedule: | |
| - cron: '0 0 * * *' # every day at midnight UTC | |
| workflow_dispatch: | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-latest | |
| environment: release | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: astral-sh/setup-uv@v7 | |
| - name: install deps | |
| run: uv sync | |
| - name: mask secrets | |
| env: | |
| FERNET_KEY: ${{ secrets.FERNET_KEY }} | |
| run: | | |
| cd tests | |
| uv pip install -e .. | |
| uv run -m util addmask | |
| cd .. | |
| - name: Lint with ruff | |
| run: uv run -m ruff check | |
| - name: Test with pytest | |
| env: | |
| FERNET_KEY: ${{ secrets.FERNET_KEY }} | |
| run: | | |
| cd tests | |
| uv run -m pytest |