Skip to content

Commit a7155a2

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

File tree

1 file changed

+15
-8
lines changed

1 file changed

+15
-8
lines changed

.github/workflows/pipeline.yml

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,28 +21,35 @@ jobs:
2121
matrix:
2222
runs-on: [ubuntu-latest, windows-latest, macos-latest]
2323
python-version: ["3.13"]
24-
config: [Release]
2524
include:
2625
- runs-on: windows-latest
2726
platform: windows
28-
- runs-on: ubuntu-latest
29-
platform: linux
30-
- runs-on: macos-latest
31-
platform: macos
32-
- runs-on: windows-latest
3327
python-version: "3.13"
3428
config: Release
3529
- runs-on: windows-latest
30+
platform: windows
3631
python-version: "3.13"
3732
config: Debug
3833
- runs-on: windows-latest
34+
platform: windows
3935
python-version: "3.12"
36+
config: Release
4037
- runs-on: windows-latest
38+
platform: windows
4139
python-version: "3.11"
40+
config: Release
4241
- runs-on: windows-latest
42+
platform: windows
4343
python-version: "3.10"
44+
config: Release
4445
- runs-on: windows-latest
46+
platform: windows
4547
python-version: "3.9"
48+
config: Release
49+
- runs-on: ubuntu-latest
50+
platform: linux
51+
- runs-on: macos-latest
52+
platform: macos
4653

4754
name: |
4855
Tests - Python ${{ matrix.python-version }} (${{ matrix.platform }})${{ matrix.config == 'Debug' && ' (Debug)' || '' }}
@@ -60,15 +67,15 @@ jobs:
6067
python-version: ${{ matrix.python-version }}
6168
- name: Build
6269
env:
63-
YARAMOD_BUILD_CONFIGURATION: ${{ matrix.config }}
70+
YARAMOD_BUILD_CONFIGURATION: ${{ matrix.config || 'Release' }}
6471
YARAMOD_BUILD_WITH_UNIT_TESTS: 1
6572
run: |
6673
python -m pip install .
6774
- name: Upload build directory
6875
if: failure()
6976
uses: actions/upload-artifact@v4
7077
with:
71-
name: build-${{ matrix.platform }}-py${{ matrix.python-version }}-${{ matrix.config }}-${{ strategy.job-index }}
78+
name: build-${{ matrix.platform }}-py${{ matrix.python-version }}-${{ matrix.config || 'Release' }}-${{ strategy.job-index }}
7279
path: build/
7380
- name: C++ Tests
7481
run: |

0 commit comments

Comments
 (0)