Modifications for bulk processing #396
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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} | |