From 83c28dddc4fa05da12ca0a050bb7ab9bb276aaff Mon Sep 17 00:00:00 2001 From: wim glenn Date: Sun, 20 Aug 2023 15:14:04 -0500 Subject: [PATCH] update ci --- .github/workflows/main.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6b4d305..c3a7688 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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"