-
-
Notifications
You must be signed in to change notification settings - Fork 919
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1989 from EliahKagan/ci-cleanup
Do some CI cleanup to make reports clearer and future changes easier
- Loading branch information
Showing
3 changed files
with
16 additions
and
15 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,23 +9,24 @@ permissions: | |
contents: read | ||
|
||
jobs: | ||
build: | ||
test: | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] | ||
include: | ||
- experimental: false | ||
- os: ubuntu-22.04 | ||
os-type: [ubuntu, macos, windows] | ||
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] | ||
exclude: | ||
- os-type: macos | ||
python-version: "3.7" | ||
experimental: false | ||
- os: windows-latest | ||
include: | ||
- os-ver: latest | ||
- os-type: ubuntu | ||
python-version: "3.7" | ||
experimental: false | ||
os-ver: "22.04" | ||
- experimental: false | ||
|
||
fail-fast: false | ||
|
||
runs-on: ${{ matrix.os }} | ||
runs-on: ${{ matrix.os-type }}-${{ matrix.os-ver }} | ||
|
||
defaults: | ||
run: | ||
|
@@ -43,7 +44,7 @@ jobs: | |
allow-prereleases: ${{ matrix.experimental }} | ||
|
||
- name: Set up WSL (Windows) | ||
if: startsWith(matrix.os, 'windows') | ||
if: matrix.os-type == 'windows' | ||
uses: Vampire/[email protected] | ||
with: | ||
distribution: Alpine | ||
|
@@ -80,7 +81,7 @@ jobs: | |
# For debugging hook tests on native Windows systems that may have WSL. | ||
- name: Show bash.exe candidates (Windows) | ||
if: startsWith(matrix.os, 'windows') | ||
if: matrix.os-type == 'windows' | ||
run: | | ||
set +e | ||
bash.exe -c 'printenv WSL_DISTRO_NAME; uname -a' | ||
|