License we use on ECMWF and MSS added #24
Workflow file for this run
This file contains 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 | |
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@v2 | |
- 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 | |