diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 9829d49..c6e78c0 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -23,7 +23,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} cache: pip @@ -35,14 +35,16 @@ jobs: - name: Install dependencies run: python -m pip install --upgrade codecov tox - - name: Run tox targets for ${{ matrix.python-version }} + - name: Run tox targets for Python ${{ matrix.python-version }} run: | ENV_PREFIX=$(tr -C -d "0-9" <<< "${{ matrix.python-version }}") TOXENV=$(tox --listenvs | grep "^py$ENV_PREFIX" | tr '\n' ',') tox - - name: Run lint + + - name: Run linters if: ${{ matrix.python-version == '3.12' }} run: | tox -e lint + - name: Upload coverage to Codecov uses: codecov/codecov-action@v3 with: