Skip to content

Develop

Develop #356

Workflow file for this run

name: NEAT Unit and Integration Tests
on:
push:
branches: [develop]
pull_request:
branches: [main, develop]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up micromamba
uses: mamba-org/setup-micromamba@v1
with:
environment-file: environment.yml
environment-name: neat
cache-environment: true
- name: Install NEAT (with developer dependencies)
shell: bash -l {0}
run: |
micromamba run -n neat poetry install --with dev
- name: Run unit tests
shell: bash -l {0}
run: |
micromamba run -n neat pytest -q tests
- name: Run CLI integration test
shell: bash -l {0}
run: |
micromamba run -n neat pytest -q tests/test_cli