Skip to content

Commit 8ae1546

Browse files
committed
Add script for testing test_all.sh
1 parent 0992eaa commit 8ae1546

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

.github/workflows/ci_test_all.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Test all script
2+
3+
on:
4+
push:
5+
branches: [ main, development, experimental, test* ]
6+
pull_request:
7+
branches: [ main, development, experimental, test* ]
8+
9+
jobs:
10+
11+
build:
12+
name: Testing on ${{ matrix.runs-on }}
13+
runs-on: ${{ matrix.runs-on }}
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
runs-on: [ubuntu-latest, macos-latest, windows-latest]
18+
19+
steps:
20+
- uses: actions/checkout@v4
21+
- name: Set up Python
22+
uses: actions/setup-python@v5
23+
24+
- name: Install HDF5 for pytables on macos-14
25+
if: ${{ matrix.runs-on == 'macos-latest' }}
26+
run: |
27+
brew install hdf5
28+
29+
- name: Install & test package
30+
run: |
31+
python -m pip install --upgrade pip
32+
# pip install 'numpy<2.0.0' # due to lingering issues with other modules & numpy...
33+
./test_all.sh
34+
35+
36+
37+
38+
39+
40+
- name: Final version info
41+
run: |
42+
pip list
43+
env

0 commit comments

Comments
 (0)