File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525 strategy :
2626 matrix :
2727 python : ["3.10", "3.11", "3.12", "3.13"]
28+ django : [0, "5.2"] # add more versions as we add support
29+ # exclude incompatible python+django combinations if needed
30+ # OR limit django+python to specific combinations to avoid too many builds
2831 defaults :
2932 run :
3033 working-directory : .
4043 cache : ' pip'
4144 cache-dependency-path : ' **/pyproject.toml'
4245
43- - name : Install package with dependencies
44- run : pip install -e ".[test]"
46+ # test with and without django based on build matrix
47+ - name : Install package with dependencies (and optionally django)
48+ run : |
49+ if [ "${{ matrix.django }}" -gt "0"]; then pip install -q Django==${{ matrix.django }} pytest-django; fi
50+ pip install -e '.[test]'
4551
4652 # for all versions but the one we use for code coverage, run normally
4753 - name : Run unit tests without code coverage
You can’t perform that action at this time.
0 commit comments