Skip to content

Commit 9baf15c

Browse files
committed
fix: run python 3.6 on ubuntu-20.04
Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
1 parent a90e568 commit 9baf15c

4 files changed

Lines changed: 22 additions & 4 deletions

File tree

.github/workflows/nightly-tests.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,29 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
14+
os: ["ubuntu-latest"]
15+
python-version: ["3.7", "3.8", "3.9", "3.10"]
16+
include:
17+
- os: "ubuntu-20.04"
18+
python-version: "3.6"
1519
uses: ./.github/workflows/tests.yml
1620
with:
1721
python-version: ${{ matrix.python-version }}
22+
os: ${{ matrix.os }}
1823

1924
tests-indy:
2025
name: Tests (Indy)
2126
strategy:
2227
fail-fast: false
2328
matrix:
24-
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
29+
os: ["ubuntu-latest"]
30+
python-version: ["3.7", "3.8", "3.9", "3.10"]
31+
include:
32+
- os: "ubuntu-20.04"
33+
python-version: "3.6"
2534

2635
uses: ./.github/workflows/tests-indy.yml
2736
with:
2837
python-version: ${{ matrix.python-version }}
38+
os: ${{ matrix.os }}
2939
indy-version: "1.16.0"

.github/workflows/pr-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@ jobs:
99
uses: ./.github/workflows/tests.yml
1010
with:
1111
python-version: "3.6"
12+
os: "ubuntu-20.04"
1213

1314
tests-indy:
1415
name: Tests (Indy)
1516
uses: ./.github/workflows/tests-indy.yml
1617
with:
1718
python-version: "3.6"
1819
indy-version: "1.16.0"
20+
os: "ubuntu-20.04"

.github/workflows/tests-indy.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,14 @@ on:
99
indy-version:
1010
required: true
1111
type: string
12+
os:
13+
required: true
14+
type: string
1215

1316
jobs:
1417
tests:
1518
name: Test Python ${{ inputs.python-version }} on Indy ${{ inputs.indy-version }}
16-
runs-on: ubuntu-latest
19+
runs-on: ${{ inputs.os }}
1720
steps:
1821
- uses: actions/checkout@v3
1922

.github/workflows/tests.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,14 @@ on:
66
python-version:
77
required: true
88
type: string
9+
os:
10+
required: true
11+
type: string
912

1013
jobs:
1114
tests:
1215
name: Test Python ${{ inputs.python-version }}
13-
runs-on: ubuntu-latest
16+
runs-on: ${{ inputs.os }}
1417
steps:
1518
- uses: actions/checkout@v3
1619
- name: Set up Python ${{ inputs.python-version }}

0 commit comments

Comments
 (0)