Skip to content

Commit da1599c

Browse files
committed
ci: Fixed tests matrix configuration
1 parent 8617544 commit da1599c

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

.github/workflows/pipeline.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,24 +25,26 @@ jobs:
2525
include:
2626
- runs-on: windows-latest
2727
platform: windows
28-
- runs-on: ubuntu-latest
29-
platform: linux
30-
- runs-on: macos-latest
31-
platform: macos
32-
- runs-on: windows-latest
33-
python-version: "3.13"
34-
config: Release
3528
- runs-on: windows-latest
29+
platform: windows
3630
python-version: "3.13"
3731
config: Debug
3832
- runs-on: windows-latest
33+
platform: windows
3934
python-version: "3.12"
4035
- runs-on: windows-latest
36+
platform: windows
4137
python-version: "3.11"
4238
- runs-on: windows-latest
39+
platform: windows
4340
python-version: "3.10"
4441
- runs-on: windows-latest
42+
platform: windows
4543
python-version: "3.9"
44+
- runs-on: ubuntu-latest
45+
platform: linux
46+
- runs-on: macos-latest
47+
platform: macos
4648

4749
name: |
4850
Tests - Python ${{ matrix.python-version }} (${{ matrix.platform }})${{ matrix.config == 'Debug' && ' (Debug)' || '' }}
@@ -60,15 +62,15 @@ jobs:
6062
python-version: ${{ matrix.python-version }}
6163
- name: Build
6264
env:
63-
YARAMOD_BUILD_CONFIGURATION: ${{ matrix.config }}
65+
YARAMOD_BUILD_CONFIGURATION: ${{ matrix.config || 'Release' }}
6466
YARAMOD_BUILD_WITH_UNIT_TESTS: 1
6567
run: |
6668
python -m pip install .
6769
- name: Upload build directory
6870
if: failure()
6971
uses: actions/upload-artifact@v4
7072
with:
71-
name: build-${{ matrix.platform }}-py${{ matrix.python-version }}-${{ matrix.config }}-${{ strategy.job-index }}
73+
name: build-${{ matrix.platform }}-py${{ matrix.python-version }}-${{ matrix.config || 'Release' }}-${{ strategy.job-index }}
7274
path: build/
7375
- name: C++ Tests
7476
run: |

0 commit comments

Comments
 (0)