Skip to content

Commit d638be7

Browse files
Merge pull request #364 from cylc/1.5.x-sync
🤖 Merge 1.5.x-sync into master
2 parents 88fc222 + 3ba19fc commit d638be7

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

.github/workflows/tests.yml

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,17 @@ concurrency:
1515
env:
1616
FORCE_COLOR: 2
1717

18+
defaults:
19+
run:
20+
shell: bash -elo pipefail {0}
21+
1822
jobs:
1923
test:
2024
runs-on: ubuntu-latest
2125
timeout-minutes: 5
2226
strategy:
2327
matrix:
24-
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
28+
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3']
2529
fail-fast: false
2630
env:
2731
PYTEST_ADDOPTS: --cov --cov-append --color=yes
@@ -30,9 +34,13 @@ jobs:
3034
uses: actions/checkout@v4
3135

3236
- name: Configure Python
33-
uses: actions/setup-python@v5
37+
uses: mamba-org/setup-micromamba@v2
3438
with:
35-
python-version: ${{ matrix.python-version }}
39+
cache-environment: true
40+
post-cleanup: 'all'
41+
environment-name: cylc
42+
create-args: >-
43+
python=${{ matrix.python-version }}
3644
3745
- name: install libs
3846
uses: cylc/release-actions/install-cylc-components@v1
@@ -111,9 +119,13 @@ jobs:
111119
uses: actions/checkout@v4
112120

113121
- name: Configure Python
114-
uses: actions/setup-python@v5
122+
uses: mamba-org/setup-micromamba@v2
115123
with:
116-
python-version: '3.9'
124+
cache-environment: true
125+
post-cleanup: 'all'
126+
environment-name: cylc
127+
create-args: >-
128+
python=${{ matrix.python-version }}
117129
118130
- name: install libs
119131
uses: cylc/release-actions/install-cylc-components@v1

0 commit comments

Comments
 (0)