@@ -3,23 +3,21 @@ name: Test installation
33on :
44 pull_request :
55 branches :
6- - master
6+ - master
7+ workflow_dispatch :
78
89jobs :
910
1011# -----------------------------------------
1112# Use a module from local source
1213# -----------------------------------------
1314 use_as_local_module :
14-
1515 strategy :
1616 fail-fast : false
1717 matrix :
18- os : [ ubuntu-latest, macos-latest, windows-latest]
18+ os : ${{ github.event_name == 'workflow_dispatch' && fromJson('[" ubuntu-latest"," macos-latest"," windows-latest"]') || fromJson('["ubuntu-latest"]') }}
1919 python-version : [3.9, '3.10', 3.11, 3.12, 3.13]
20-
2120 runs-on : ${{ matrix.os }}
22-
2321 steps :
2422 - uses : actions/checkout@v4
2523
@@ -47,15 +45,12 @@ jobs:
4745# Install with pip
4846# -----------------------------------------
4947 install_with_pip :
50-
5148 strategy :
5249 fail-fast : false
5350 matrix :
54- os : [ ubuntu-latest, macos-latest, windows-latest]
51+ os : ${{ github.event_name == 'workflow_dispatch' && fromJson('[" ubuntu-latest"," macos-latest"," windows-latest"]') || fromJson('["ubuntu-latest"]') }}
5552 python-version : [3.9, '3.10', 3.11, 3.12, 3.13]
56-
5753 runs-on : ${{ matrix.os }}
58-
5954 steps :
6055 - name : Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
6156 uses : actions/setup-python@v4
@@ -82,15 +77,12 @@ jobs:
8277# Install with poetry
8378# -----------------------------------------
8479 install_with_poetry :
85-
8680 strategy :
8781 fail-fast : false
8882 matrix :
89- os : [ ubuntu-latest, macos-latest, windows-latest]
83+ os : ${{ github.event_name == 'workflow_dispatch' && fromJson('[" ubuntu-latest"," macos-latest"," windows-latest"]') || fromJson('["ubuntu-latest"]') }}
9084 python-version : [3.9, '3.10', 3.11, 3.12, 3.13]
91-
9285 runs-on : ${{ matrix.os }}
93-
9486 steps :
9587 - name : Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
9688 uses : actions/setup-python@v4
@@ -146,15 +138,12 @@ jobs:
146138# Install with uv
147139# -----------------------------------------
148140 install_with_uv :
149-
150141 strategy :
151142 fail-fast : false
152143 matrix :
153- os : [ ubuntu-latest, macos-latest, windows-latest]
144+ os : ${{ github.event_name == 'workflow_dispatch' && fromJson('[" ubuntu-latest"," macos-latest"," windows-latest"]') || fromJson('["ubuntu-latest"]') }}
154145 python-version : [3.9, '3.10', 3.11, 3.12, 3.13]
155-
156146 runs-on : ${{ matrix.os }}
157-
158147 steps :
159148 - name : Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
160149 uses : actions/setup-python@v4
0 commit comments