Skip to content

Commit 2f077ca

Browse files
committed
Attempt to run CI with different python versions
1 parent 4d9e064 commit 2f077ca

File tree

1 file changed

+21
-9
lines changed

1 file changed

+21
-9
lines changed

.github/workflows/ci.yml

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,24 @@ defaults:
1212

1313
jobs:
1414
cabal:
15-
name: ${{ matrix.os }} / ghc ${{ matrix.ghc }}
15+
name: ${{ matrix.os }} / GHC ${{ matrix.ghc }} / ${{ matrix.python-version }}
1616
runs-on: ${{ matrix.os }}
1717
strategy:
1818
matrix:
1919
include:
20-
- { cabal: "3.14", os: ubuntu-latest, ghc: "9.2.8" }
21-
- { cabal: "3.14", os: ubuntu-latest, ghc: "9.4.8" }
22-
- { cabal: "3.14", os: ubuntu-latest, ghc: "9.6.6" }
23-
- { cabal: "3.14", os: ubuntu-latest, ghc: "9.8.4" }
24-
- { cabal: "3.14", os: ubuntu-latest, ghc: "9.10.2" }
25-
- { cabal: "3.14", os: ubuntu-latest, ghc: "9.12.2" }
20+
- { cabal: "3.14", os: ubuntu-latest, ghc: "9.2.8", python-version: "3.12" }
21+
- { cabal: "3.14", os: ubuntu-latest, ghc: "9.4.8", python-version: "3.12" }
22+
- { cabal: "3.14", os: ubuntu-latest, ghc: "9.6.6", python-version: "3.12" }
23+
- { cabal: "3.14", os: ubuntu-latest, ghc: "9.8.4", python-version: "3.12" }
24+
- { cabal: "3.14", os: ubuntu-latest, ghc: "9.10.2", python-version: "3.12" }
25+
- { cabal: "3.14", os: ubuntu-latest, ghc: "9.12.2", python-version: "3.12" }
26+
# Scan over supported python versions
27+
- { cabal: "3.14", os: ubuntu-latest, ghc: "9.10.2", python-version: "3.9" }
28+
- { cabal: "3.14", os: ubuntu-latest, ghc: "9.10.2", python-version: "3.10" }
29+
- { cabal: "3.14", os: ubuntu-latest, ghc: "9.10.2", python-version: "3.11" }
30+
- { cabal: "3.14", os: ubuntu-latest, ghc: "9.10.2", python-version: "3.12" }
31+
- { cabal: "3.14", os: ubuntu-latest, ghc: "9.10.2", python-version: "3.13" }
32+
- { cabal: "3.14", os: ubuntu-latest, ghc: "9.10.2", python-version: "3.14" }
2633
fail-fast: false
2734
steps:
2835
# ----------------
@@ -35,6 +42,10 @@ jobs:
3542
ghc-version: ${{ matrix.ghc }}
3643
cabal-version: ${{ matrix.cabal }}
3744
# ----------------
45+
- uses: actions/setup-python@v5
46+
with:
47+
python-version: ${{ matrix.python-version }}
48+
# ----------------
3849
- uses: actions/cache@v3
3950
name: Cache ~/.cabal/store
4051
with:
@@ -43,8 +54,9 @@ jobs:
4354
# ----------------
4455
- name: Versions
4556
run: |
46-
cabal -V
47-
ghc -V
57+
cabal -V
58+
ghc -V
59+
python -V
4860
pkg-config python3-embed --cflags
4961
pkg-config python3-embed --libs
5062
# ----------------

0 commit comments

Comments
 (0)