Skip to content

[pre-commit.ci] pre-commit autoupdate #20

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #20

Workflow file for this run

name: tests
on:
push:
branches:
- main
pull_request: null
env:
PY_COLORS: "1"
jobs:
tests:
name: tests
runs-on: "ubuntu-latest"
defaults:
run:
shell: bash -el {0}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- uses: mamba-org/setup-micromamba@b09ef9b599704322748535812ca03efb2625677b # v2.0.5
with:
environment-file: environment.yml
environment-name: conda-oci
- name: configure conda and install code
shell: bash -el {0}
run: |
python -m pip install -v --no-deps --no-build-isolation -e .
- name: test
shell: bash -el {0}
run: |
pytest -vvs conda_oci