Skip to content

Commit

Permalink
Merge pull request #31 from wimglenn/actions
Browse files Browse the repository at this point in the history
update ci
  • Loading branch information
wimglenn authored Aug 20, 2023
2 parents ae933a4 + 83c28dd commit 555082a
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,20 @@ jobs:

strategy:
matrix:
python-version: ["2.7", "3.6", "3.7", "3.8", "3.9", "3.10.0-alpha - 3.10", "pypy3"]
python-version: ["3.8", "3.9", "3.10", "3.11"]

steps:
- uses: "actions/checkout@v2"
- uses: "actions/setup-python@v2"
- uses: "actions/checkout@v3"
- uses: "actions/setup-python@v4"
with:
python-version: "${{ matrix.python-version }}"
- name: "Install dependencies"
run: |
set -xe
python -VV
python -m pip install ".[dev]"
pip install ".[dev]"
- name: "Run tests for ${{ matrix.python-version }}"
run: python -m pytest --cov=drf_queryfields

- name: Upload coverage to Codecov
uses: "codecov/codecov-action@v1"
with:
fail_ci_if_error: true
uses: "codecov/codecov-action@v3"

0 comments on commit 555082a

Please sign in to comment.