Export python music box configuration #48
Workflow file for this run
This file contains hidden or 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
| name: JS/Python Parity Tests | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| parity: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Install system dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libnetcdf-dev netcdf-bin libnetcdff-dev liblapack-dev | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| cache: pip | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "v22" | |
| - name: Install Python package | |
| run: pip install -e '.[dev]' | |
| - name: Install JS dependencies | |
| run: npm ci | |
| - name: Run parity tests | |
| run: python tests/parity_test.py |