Repository navigation
build(deps): bump actions/download-artifact from 8.0.1 to 8.0.2 #881
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: Python CI | |
| on: | |
| workflow_call: | |
| pull_request: | |
| branches: | |
| - '**' | |
| jobs: | |
| run_tests: | |
| name: ${{ matrix.toxenv }} | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| strategy: | |
| matrix: | |
| python-version: ['3.12'] | |
| toxenv: [quality, django52, check_keywords] | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3 | |
| with: | |
| enable-cache: true | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: uv sync --locked --group ci | |
| - name: Run Tests | |
| run: uv run --locked tox -e ${{ matrix.toxenv }} | |
| - name: Run Coverage | |
| if: matrix.python-version == '3.12' && matrix.toxenv=='django52' | |
| uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| flags: unittests | |
| fail_ci_if_error: true |