diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/check_format.yml | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/.github/workflows/check_format.yml b/.github/workflows/check_format.yml index 5c3e7c57..7b52d278 100644 --- a/.github/workflows/check_format.yml +++ b/.github/workflows/check_format.yml @@ -15,7 +15,11 @@ jobs: fail-fast: false matrix: env: [flake8, mypy, pylint, black, isort] - runs-on: ubuntu-18.04 + lint-with: + - {tip-versions: false, os: ubuntu-18.04} + - {tip-versions: true, os: ubuntu-latest} + name: ${{ matrix.lint-with.tip-versions && 'Check format (tip)' || 'Check format (pinned)' }} + runs-on: ${{ matrix.lint-with.os }} steps: - name: "Checkout #1" uses: actions/checkout@v3.0.0 @@ -34,7 +38,14 @@ jobs: run: python3 --version - name: Test + if: matrix.lint-with.tip-versions env: # matrix env: not to be confused w/environment variables or testenv TOXENV: ${{ matrix.env }} run: tox + - name: Test (tip versions) + if: matrix.lint-with.tip-versions + continue-on-error: true + env: + TOXENV: tip-${{ matrix.env }} + run: tox |