Skip to content

Merge pull request #12 from opera-adt/dependabot/github_actions/docke… #112

Merge pull request #12 from opera-adt/dependabot/github_actions/docke…

Merge pull request #12 from opera-adt/dependabot/github_actions/docke… #112

Workflow file for this run

name: Tests
on: [pull_request, push]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: mamba-org/setup-micromamba@v2
with:
environment-file: environment.yml
cache-environment: true
- name: Install package
shell: micromamba-shell {0}
run: pip install -e ".[test]"
- name: Run tests
shell: micromamba-shell {0}
run: pytest -v --maxfail=1 tests