diff --git a/.github/workflows/ci_test_all.yml b/.github/workflows/ci_test_all.yml new file mode 100644 index 0000000..6b09af5 --- /dev/null +++ b/.github/workflows/ci_test_all.yml @@ -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 diff --git a/docs/sphinx/source/api/Contributors.md b/docs/sphinx/source/api/Contributors.md index 6609545..a64b613 100644 --- a/docs/sphinx/source/api/Contributors.md +++ b/docs/sphinx/source/api/Contributors.md @@ -3,7 +3,7 @@ # Modelspec contributors This page list names and Github profiles of contributors to Modelspec, listed in no particular order. -This page is generated periodically, most recently on 2024-06-18. +This page is generated periodically, most recently on 2025-02-05. - Padraig Gleeson ([@pgleeson](https://github.com/pgleeson)) - Manifest Chakalov ([@mqnifestkelvin](https://github.com/mqnifestkelvin)) diff --git a/src/modelspec/__init__.py b/src/modelspec/__init__.py index d397ba8..e791326 100644 --- a/src/modelspec/__init__.py +++ b/src/modelspec/__init__.py @@ -1,4 +1,4 @@ -__version__ = "0.3.5" +__version__ = "0.3.6" from .base_types import Base, define, has, field, fields, optional, instance_of, in_ diff --git a/test_all.sh b/test_all.sh index 1c2951f..46e29f2 100755 --- a/test_all.sh +++ b/test_all.sh @@ -54,4 +54,4 @@ cd .. ## Format all file -pre-commit run --all-files +/bin/bash -c 'pre-commit run --all-files; echo Finished running pre-commit!' # Note: prevents error code when reformatting