-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #80 from ModECI/experimental
Add script for testing test_all.sh
- Loading branch information
Showing
3 changed files
with
45 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Test all script | ||
|
||
on: | ||
push: | ||
branches: [ main, development, experimental, test* ] | ||
pull_request: | ||
branches: [ main, development, experimental, test* ] | ||
|
||
jobs: | ||
|
||
build: | ||
name: Testing on ${{ matrix.runs-on }} | ||
runs-on: ${{ matrix.runs-on }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
runs-on: [ubuntu-latest, macos-latest, windows-latest] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
|
||
- name: Install HDF5 for pytables on macos-14 | ||
if: ${{ matrix.runs-on == 'macos-latest' }} | ||
run: | | ||
brew install hdf5 | ||
- name: Install & test package | ||
run: | | ||
python -m pip install --upgrade pip | ||
# pip install 'numpy<2.0.0' # due to lingering issues with other modules & numpy... | ||
pip install OSBModelValidation | ||
./test_all.sh | ||
- name: Final version info | ||
run: | | ||
pip list | ||
env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters