@@ -3,23 +3,21 @@ name: Test installation
3
3
on :
4
4
pull_request :
5
5
branches :
6
- - master
6
+ - master
7
+ workflow_dispatch :
7
8
8
9
jobs :
9
10
10
11
# -----------------------------------------
11
12
# Use a module from local source
12
13
# -----------------------------------------
13
14
use_as_local_module :
14
-
15
15
strategy :
16
16
fail-fast : false
17
17
matrix :
18
- os : [ ubuntu-latest, macos-latest, windows-latest]
18
+ os : ${{ github.event_name == 'workflow_dispatch' && '[" ubuntu-latest"," macos-latest"," windows-latest"]' || '["ubuntu-latest"]' }}
19
19
python-version : [3.9, '3.10', 3.11, 3.12, 3.13]
20
-
21
20
runs-on : ${{ matrix.os }}
22
-
23
21
steps :
24
22
- uses : actions/checkout@v4
25
23
@@ -47,15 +45,12 @@ jobs:
47
45
# Install with pip
48
46
# -----------------------------------------
49
47
install_with_pip :
50
-
51
48
strategy :
52
49
fail-fast : false
53
50
matrix :
54
- os : [ ubuntu-latest, macos-latest, windows-latest]
51
+ os : ${{ github.event_name == 'workflow_dispatch' && '[" ubuntu-latest"," macos-latest"," windows-latest"]' || '["ubuntu-latest"]' }}
55
52
python-version : [3.9, '3.10', 3.11, 3.12, 3.13]
56
-
57
53
runs-on : ${{ matrix.os }}
58
-
59
54
steps :
60
55
- name : Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
61
56
uses : actions/setup-python@v4
@@ -82,15 +77,12 @@ jobs:
82
77
# Install with poetry
83
78
# -----------------------------------------
84
79
install_with_poetry :
85
-
86
80
strategy :
87
81
fail-fast : false
88
82
matrix :
89
- os : [ ubuntu-latest, macos-latest, windows-latest]
83
+ os : ${{ github.event_name == 'workflow_dispatch' && '[" ubuntu-latest"," macos-latest"," windows-latest"]' || '["ubuntu-latest"]' }}
90
84
python-version : [3.9, '3.10', 3.11, 3.12, 3.13]
91
-
92
85
runs-on : ${{ matrix.os }}
93
-
94
86
steps :
95
87
- name : Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
96
88
uses : actions/setup-python@v4
@@ -146,15 +138,12 @@ jobs:
146
138
# Install with uv
147
139
# -----------------------------------------
148
140
install_with_uv :
149
-
150
141
strategy :
151
142
fail-fast : false
152
143
matrix :
153
- os : [ ubuntu-latest, macos-latest, windows-latest]
144
+ os : ${{ github.event_name == 'workflow_dispatch' && '[" ubuntu-latest"," macos-latest"," windows-latest"]' || '["ubuntu-latest"]' }}
154
145
python-version : [3.9, '3.10', 3.11, 3.12, 3.13]
155
-
156
146
runs-on : ${{ matrix.os }}
157
-
158
147
steps :
159
148
- name : Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
160
149
uses : actions/setup-python@v4
@@ -209,3 +198,11 @@ jobs:
209
198
run : |
210
199
cd tests
211
200
uv run python -m pytest --disable-pytest-warnings -v dataset_test.py filesindex_test.py datasetindex_test.py
201
+ - name : Run basic tests
202
+ run : |
203
+ cd tests
204
+ uv run python -m pytest --disable-pytest-warnings -v dataset_test.py filesindex_test.py datasetindex_test.py
205
+ - name : Run basic tests
206
+ run : |
207
+ cd tests
208
+ uv run python -m pytest --disable-pytest-warnings -v dataset_test.py filesindex_test.py datasetindex_test.py
0 commit comments