Bump actions/checkout from 6 to 7 #249
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: Notebook Tests | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| - dev | |
| pull_request: | |
| branches: | |
| - main | |
| - dev | |
| jobs: | |
| pytest: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: extractions/netrc@v3 | |
| with: | |
| machine: urs.earthdata.nasa.gov | |
| username: ${{ secrets.EARTHDATA_USERNAME }} | |
| password: ${{ secrets.EARTHDATA_PASSWORD }} | |
| - uses: prefix-dev/setup-pixi@v0.8.1 | |
| with: | |
| pixi-version: latest | |
| - name: Pytest Notebook tests | |
| run: | | |
| pixi run pip install --no-deps . | |
| pixi run pip install papermill | |
| pixi run python -m ipykernel install --user --name dist-s1-enumerator | |
| pixi run pytest . -m 'notebooks' |