Skip to content

Commit 7782f47

Browse files
committed
Fix GHA
- add python-type to matrix to avoid issues with forgetting to update python versions in step guards Signed-off-by: Stefan Marr <[email protected]>
1 parent 828f17c commit 7782f47

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
- name: Basics Python 3.13
2424
python-version: 3.13
2525
id: basic
26+
python-type: cpython
2627

2728
steps:
2829
- name: Checkout
@@ -69,14 +70,15 @@ jobs:
6970
./som-${{ matrix.id }}-interp -cp Smalltalk TestSuite/TestHarness.som
7071
7172
- name: Integration Tests
72-
if: matrix.id == 'basic'
73+
if: matrix.python-type == 'cpython'
7374
run: |
7475
pip install pyyaml
7576
export VM=./som.sh
7677
export CLASSPATH=Smalltalk
7778
export TEST_EXPECTATIONS=./integration-tests.yml
7879
export AWFY=Examples/AreWeFastYet/Core
7980
81+
export PYTHON=python
8082
SOM_INTERP=AST pytest core-lib/IntegrationTests
8183
SOM_INTERP=BC pytest core-lib/IntegrationTests
8284
@@ -90,13 +92,13 @@ jobs:
9092
run: |
9193
pip install black
9294
black --check --diff src tests
93-
if: matrix.python-version == '3.11'
95+
if: matrix.python-type == 'cpython'
9496

9597
- name: Install and Run PyLint
9698
run: |
9799
pip install pylint
98100
pylint --init-hook="import sys; sys.setrecursionlimit(2000)" src tests
99-
if: matrix.python-version == '3.11'
101+
if: matrix.python-type == 'cpython'
100102

101103

102104
concurrency:

0 commit comments

Comments
 (0)