Hints #30
Workflow file for this run
This file contains 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: django-brackets-testing | |
on: [pull_request, workflow_dispatch] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.10", "3.11", "3.12"] | |
django-version: ["3.2", "4.2", "5.0"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
pip install django~=${{ matrix.django-version }} | |
pip install django-rest-framework pytest pytest-django pytest-lazy-fixture pytest-cov | |
- name: Run pytest | |
env: | |
PYTHONPATH: tests/project/:src/ | |
run: pytest --cov --cov-fail-under=100 |