Skip to content

Modifications for bulk processing #396

Modifications for bulk processing

Modifications for bulk processing #396

Workflow file for this run

name: Unit Tests
on:
workflow_dispatch:
pull_request:
types:
- opened
- reopened
- synchronize
jobs:
unit-tests:
runs-on: ubuntu-latest
# Using a matrix lets us define additional versions of Python to test against
strategy:
matrix:
python-version: [ "3.10" ]
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install Conda environment
uses: mamba-org/setup-micromamba@v2
with:
environment-file: main/tests/environment.yaml
environment-name: como_tests
micromamba-version: "latest"
init-shell: bash
cache-environment: true
cache-downloads: true
post-cleanup: "none"
create-args: >-
python=${{ matrix.python-version }}
- name: Run tests
run: "cd main && python -m pytest"
shell: micromamba-shell {0}