Fixed GRACE processing. #289
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
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python | |
name: pism-ragis | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: [ubuntu-latest] | |
strategy: | |
fail-fast: false | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up micromamba | |
uses: mamba-org/setup-micromamba@v2 | |
with: | |
micromamba-version: "latest" | |
generate-run-shell: true | |
environment-file: environment-dev.yml | |
cache-environment: true | |
post-cleanup: 'all' | |
- name: Run tests | |
run: | | |
python -c "import petsc4py; petsc4py.init(sys.argv); from petsc4py import PETSc;" | |
python -m pytest | |
shell: micromamba-shell {0} |