Use aviso triggers to start file conversion #42
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: Pytest MSS / data-retrieval | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| env: | |
| PAT: ${{ secrets.PAT }} | |
| jobs: | |
| Test-MSS: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| shell: bash | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: | | |
| sudo apt update \ | |
| && sudo apt install nco cdo libeccodes-tools \ | |
| && python -m pip install --upgrade pip cdsapi cfgrib eccodes MetPy tqdm xarray "numpy<2" netCDF4 pytest | |
| - name: Run tests | |
| timeout-minutes: 25 | |
| run: | | |
| cd $GITHUB_WORKSPACE \ | |
| && pytest -v --durations=20 | |