New Django support #70
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: build | |
| on: [push, pull_request] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| # By default, GitHub will maximize the number of jobs run in parallel | |
| # depending on the available runners on GitHub-hosted virtual machines. | |
| # max-parallel: 8 | |
| fail-fast: false | |
| matrix: | |
| python-version: | |
| - "3.10" | |
| - "3.11" | |
| - "3.12" | |
| - "3.13" | |
| - "3.14" | |
| tox-env: | |
| - "dj42" # LTS | |
| - "dj50" | |
| - "dj51" | |
| - "dj52" # LTS | |
| - "djmain" | |
| env: | |
| TOXENV: ${{ matrix.tox-env }} | |
| # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Upgrade pip version | |
| run: | | |
| python -m pip install -U pip | |
| - name: Install tox and coverage packages | |
| run: | | |
| pip install tox tox-gh-actions 'coverage<8' coveralls | |
| - name: Run tox and coverage | |
| run: | | |
| tox -e $TOXENV | |
| coverage report | |
| coverage html | |
| # - name: Upload coverage to coveralls | |
| # run: | | |
| # coveralls |