Fix publish-url #165
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: CI | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| include: | |
| # Django 3.2 | |
| - django-version: "3.2.25" | |
| python-version: "3.10" | |
| # Django 4.2 | |
| - django-version: "4.2.23" | |
| python-version: "3.10" | |
| - django-version: "4.2.23" | |
| python-version: "3.11" | |
| - django-version: "4.2.23" | |
| python-version: "3.12" | |
| # Django 5.2 | |
| - django-version: "5.2.3" | |
| python-version: "3.10" | |
| - django-version: "5.2.3" | |
| python-version: "3.11" | |
| - django-version: "5.2.3" | |
| python-version: "3.12" | |
| - django-version: "5.2.3" | |
| python-version: "3.13" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up uv | |
| uses: astral-sh/setup-uv@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Use specific django version | |
| run: uv add -U django~=${{ matrix.django-version }} | |
| - name: Install dependencies | |
| run: uv sync --all-extras | |
| - name: Run tests | |
| run: uv run coverage run -m django test --settings=tests.settings --pythonpath=. -v 2 | |
| - name: Report coverage to Codecov | |
| uses: codecov/codecov-action@v3 |