Skip to content

redo ci

redo ci #29

Workflow file for this run

name: ci_pytest
on:
pull_request:
branches:
- main
jobs:
build_and_test:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout branch
uses: actions/checkout@v4
# See https://github.com/marketplace/actions/setup-micromamba
- name: setup-micromamba
uses: mamba-org/[email protected]
with:
micromamba-version: '1.5.8-0' # temporary fix as setup-mircomamba hangs with later mamba version
environment-file: environment.yml
environment-name: patchwork # activate the environment
cache-environment: true
cache-downloads: true
generate-run-shell: true
- name: Run tests with pytest
shell: micromamba-shell {0}
run: python -m pytest ./test -s --log-cli-level DEBUG