Skip to content

Add the actions

Add the actions #1

Workflow file for this run

name: Create the environment
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
config: ["release"]
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: mamba-org/setup-micromamba@v2
with:
environment-file: envs/{{ matrix.config }}.yml
init-shell: >-
bash
cache-environment: true
post-cleanup: "all"
- name: Test for import
run: python -c "import genomicranges"
shell: bash -el {0}
- name: Snapshot the package versions in the environment
run: pip list
shell: micromamba-shell {0}