Skip to content

Commit a9bfefa

Browse files
authored
Merge pull request #80 from ModECI/experimental
Add script for testing test_all.sh
2 parents 0992eaa + babab53 commit a9bfefa

File tree

3 files changed

+45
-2
lines changed

3 files changed

+45
-2
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+
34+
pip install OSBModelValidation
35+
36+
./test_all.sh
37+
38+
39+
40+
- name: Final version info
41+
run: |
42+
pip list
43+
env

docs/sphinx/source/api/Contributors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Modelspec contributors
44

55
This page list names and Github profiles of contributors to Modelspec, listed in no particular order.
6-
This page is generated periodically, most recently on 2024-11-06.
6+
This page is generated periodically, most recently on 2024-12-18.
77

88
- Padraig Gleeson ([@pgleeson](https://github.com/pgleeson))
99
- Manifest Chakalov ([@mqnifestkelvin](https://github.com/mqnifestkelvin))

test_all.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ cd ..
5454

5555
## Format all file
5656

57-
pre-commit run --all-files
57+
/bin/bash -c 'pre-commit run --all-files; echo Finished running pre-commit!' # Note: prevents error code when reformatting

0 commit comments

Comments
 (0)