Pip install netcdf4 seems to require hdf5 now #115
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: Test uptide | |
| on: | |
| # Push to master or PR | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| schedule: | |
| # * is a special character in YAML so you have to quote this string | |
| # Scheduled build at 0230 UTC on Monday mornings to detect bitrot. | |
| - cron: '30 2 * * 1' | |
| jobs: | |
| build: | |
| name: "Test uptide" | |
| # The type of runner that the job will run on | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install hdf5 | |
| run: | | |
| apt-get install libhdf5-openmpi-dev | |
| - name: Install requirements | |
| run: | | |
| pip3 install -e ./[test] | |
| - name: Test | |
| run: | | |
| python3 -m pytest -v tests/ |