Skip to content

Commit 8842b03

Browse files
committed
reduce workflow runs
1 parent 052442f commit 8842b03

1 file changed

Lines changed: 29 additions & 4 deletions

File tree

.github/workflows/test.yml

Lines changed: 29 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,34 @@ jobs:
4747
strategy:
4848
fail-fast: false
4949
matrix:
50-
os: [ubuntu-latest, macos-latest, windows-latest]
51-
test-folder: [just-pixi-toml, just-pyproject-toml, pyproject-and-pixi-toml]
52-
pixi-version: ["", "v0.63.2"]
50+
include:
51+
# Test OS values with fixed test-folder and pixi-version
52+
- os: ubuntu-latest
53+
test-folder: just-pixi-toml
54+
pixi-version: ""
55+
- os: macos-latest
56+
test-folder: just-pixi-toml
57+
pixi-version: ""
58+
- os: windows-latest
59+
test-folder: just-pixi-toml
60+
pixi-version: ""
61+
# Test test-folder values with fixed OS and pixi-version
62+
- os: ubuntu-latest
63+
test-folder: just-pixi-toml
64+
pixi-version: ""
65+
- os: ubuntu-latest
66+
test-folder: just-pyproject-toml
67+
pixi-version: ""
68+
- os: ubuntu-latest
69+
test-folder: pyproject-and-pixi-toml
70+
pixi-version: ""
71+
# Test pixi-version values with fixed OS and test-folder
72+
- os: ubuntu-latest
73+
test-folder: just-pixi-toml
74+
pixi-version: ""
75+
- os: ubuntu-latest
76+
test-folder: just-pixi-toml
77+
pixi-version: "v0.63.2"
5378
steps:
5479
- name: Checkout repository
5580
uses: actions/checkout@v6
@@ -91,7 +116,7 @@ jobs:
91116

92117
- name: Print cache key
93118
run: echo "Pixi cache key is ${{ steps.create-and-cache.outputs.cache-key }}"
94-
119+
95120
- name: Verify pixi.lock exists after restore
96121
shell: bash
97122
run: |

0 commit comments

Comments
 (0)