GitHub Actions to update the lockfile #413
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: Test Data Access Notebook | |
| on: | |
| pull_request: | |
| jobs: | |
| run-tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - name: Setup Micromamba | |
| uses: mamba-org/setup-micromamba@0dea6379afdaffa5d528b3d1dabc45da37f443fc # v2.0.4 | |
| with: | |
| environment-name: IOOS | |
| init-shell: bash | |
| create-args: >- | |
| --file .binder/conda-lock.yml | |
| - name: Notebook tests | |
| shell: bash -l {0} | |
| run: > | |
| micromamba install nbval | |
| && python -m pytest --nbval --nbval-lax jupyterbook/content/code_gallery/data_access_notebooks/ |