Add reading grib files for stats #134
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: Run Pytest in probtest | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| probtest-pytest: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| shell: bash -l {0} | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up Python | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: 3.12.6 | |
| - uses: conda-incubator/setup-miniconda@v2 | |
| with: | |
| miniconda-version: "latest" | |
| channels: conda-forge | |
| channel-priority: flexible | |
| show-channel-urls: true | |
| - name: Create env from pinned reqs | |
| run: | | |
| ./setup_env.sh -n probtest | |
| - name: Run Pytest | |
| env: | |
| TZ: Europe/Zurich | |
| run: | | |
| conda run --name probtest pytest -v -s --cov --cov-report=term tests/ |