-
Notifications
You must be signed in to change notification settings - Fork 883
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Move lint tip and py3-dev jobs to daily
These jobs give us useful signal, but we don't want them blocking PR merges, so run them daily instead of per-PR.
- Loading branch information
1 parent
c76ad9c
commit af6b1e9
Showing
3 changed files
with
45 additions
and
20 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,11 +18,8 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
env: [ruff, mypy, pylint, black, isort] | ||
lint-with: | ||
- {tip-versions: false, os: ubuntu-20.04} | ||
- {tip-versions: true, os: ubuntu-latest} | ||
name: Check ${{ matrix.lint-with.tip-versions && 'tip-' || '' }}${{ matrix.env }} | ||
runs-on: ${{ matrix.lint-with.os }} | ||
name: Check ${{ matrix.env }} | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: "Checkout #1" | ||
uses: actions/[email protected] | ||
|
@@ -41,17 +38,10 @@ 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 | ||
schema-format: | ||
strategy: | ||
fail-fast: false | ||
|
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
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