Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a7c7433

Browse filesBrowse files
authored
Merge pull request #1989 from EliahKagan/ci-cleanup
Do some CI cleanup to make reports clearer and future changes easier
2 parents cc1c643 + 73ddb22 commit a7c7433
Copy full SHA for a7c7433

File tree

3 files changed

+16
-15
lines changed
Filter options

3 files changed

+16
-15
lines changed

‎.github/workflows/alpine-test.yml

Copy file name to clipboardExpand all lines: .github/workflows/alpine-test.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: test-alpine
33
on: [push, pull_request, workflow_dispatch]
44

55
jobs:
6-
build:
6+
test:
77
runs-on: ubuntu-latest
88

99
container:

‎.github/workflows/cygwin-test.yml

Copy file name to clipboardExpand all lines: .github/workflows/cygwin-test.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: test-cygwin
33
on: [push, pull_request, workflow_dispatch]
44

55
jobs:
6-
build:
6+
test:
77
runs-on: windows-latest
88

99
strategy:
@@ -30,7 +30,7 @@ jobs:
3030
- name: Set up Cygwin
3131
uses: egor-tensin/setup-cygwin@v4
3232
with:
33-
packages: python39=3.9.16-1 python39-pip python39-virtualenv git
33+
packages: python39 python39-pip python39-virtualenv git
3434

3535
- name: Arrange for verbose output
3636
run: |

‎.github/workflows/pythonpackage.yml

Copy file name to clipboardExpand all lines: .github/workflows/pythonpackage.yml
+13-12Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,23 +9,24 @@ permissions:
99
contents: read
1010

1111
jobs:
12-
build:
12+
test:
1313
strategy:
1414
matrix:
15-
os: [ubuntu-latest, macos-latest, windows-latest]
16-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
17-
include:
18-
- experimental: false
19-
- os: ubuntu-22.04
15+
os-type: [ubuntu, macos, windows]
16+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
17+
exclude:
18+
- os-type: macos
2019
python-version: "3.7"
21-
experimental: false
22-
- os: windows-latest
20+
include:
21+
- os-ver: latest
22+
- os-type: ubuntu
2323
python-version: "3.7"
24-
experimental: false
24+
os-ver: "22.04"
25+
- experimental: false
2526

2627
fail-fast: false
2728

28-
runs-on: ${{ matrix.os }}
29+
runs-on: ${{ matrix.os-type }}-${{ matrix.os-ver }}
2930

3031
defaults:
3132
run:
@@ -43,7 +44,7 @@ jobs:
4344
allow-prereleases: ${{ matrix.experimental }}
4445

4546
- name: Set up WSL (Windows)
46-
if: startsWith(matrix.os, 'windows')
47+
if: matrix.os-type == 'windows'
4748
uses: Vampire/setup-wsl@v4.0.0
4849
with:
4950
distribution: Alpine
@@ -80,7 +81,7 @@ jobs:
8081
8182
# For debugging hook tests on native Windows systems that may have WSL.
8283
- name: Show bash.exe candidates (Windows)
83-
if: startsWith(matrix.os, 'windows')
84+
if: matrix.os-type == 'windows'
8485
run: |
8586
set +e
8687
bash.exe -c 'printenv WSL_DISTRO_NAME; uname -a'

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.