Skip to content

Iss1106/read icos nc #1078

Iss1106/read icos nc

Iss1106/read icos nc #1078

Workflow file for this run

name: Create conda environment and run tests
on:
push:
branches: [master, devel]
tags:
- "*"
paths-ignore:
- 'CHANGELOG.md'
pull_request:
branches: [master, devel]
paths-ignore:
- 'CHANGELOG.md'
jobs:
test:
name: Run tests on (${{ matrix.python-version }}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash -el {0}
strategy:
fail-fast: false
max-parallel: 3
matrix:
os: ["ubuntu-latest"]
python-version: ["3.10"]
# python-version: ["3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v3
- uses: mamba-org/setup-micromamba@8752438cc2755ab7d0de2a8d70b694f5586baae8
with:
environment-file: environment-dev.yaml
cache-environment: true
post-cleanup: "all"
init-shell: bash
- name: Install OpenGHG
run: conda develop .
shell: micromamba-shell {0}
- name: Run the tests
run: pytest -v tests/
shell: micromamba-shell {0}