Skip to content

Commit 5b9eb17

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

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/pipeline.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,25 @@ jobs:
3030
- runs-on: macos-latest
3131
platform: macos
3232
- runs-on: windows-latest
33-
python-version: "3.13"
34-
config: Release
35-
- runs-on: windows-latest
33+
platform: windows
3634
python-version: "3.13"
3735
config: Debug
3836
- runs-on: windows-latest
37+
platform: windows
3938
python-version: "3.12"
39+
config: Release
4040
- runs-on: windows-latest
41+
platform: windows
4142
python-version: "3.11"
43+
config: Release
4244
- runs-on: windows-latest
45+
platform: windows
4346
python-version: "3.10"
47+
config: Release
4448
- runs-on: windows-latest
49+
platform: windows
4550
python-version: "3.9"
51+
config: Release
4652

4753
name: |
4854
Tests - Python ${{ matrix.python-version }} (${{ matrix.platform }})${{ matrix.config == 'Debug' && ' (Debug)' || '' }}
@@ -60,15 +66,15 @@ jobs:
6066
python-version: ${{ matrix.python-version }}
6167
- name: Build
6268
env:
63-
YARAMOD_BUILD_CONFIGURATION: ${{ matrix.config }}
69+
YARAMOD_BUILD_CONFIGURATION: ${{ matrix.config || 'Release' }}
6470
YARAMOD_BUILD_WITH_UNIT_TESTS: 1
6571
run: |
6672
python -m pip install .
6773
- name: Upload build directory
6874
if: failure()
6975
uses: actions/upload-artifact@v4
7076
with:
71-
name: build-${{ matrix.platform }}-py${{ matrix.python-version }}-${{ matrix.config }}-${{ strategy.job-index }}
77+
name: build-${{ matrix.platform }}-py${{ matrix.python-version }}-${{ matrix.config || 'Release' }}-${{ strategy.job-index }}
7278
path: build/
7379
- name: C++ Tests
7480
run: |

0 commit comments

Comments
 (0)