Skip to content

add test for 2D CLI #312

add test for 2D CLI

add test for 2D CLI #312

name: build_and_test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Test ${{ matrix.os }} - ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: [3.9]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup micromamba
uses: mamba-org/setup-micromamba@v1
with:
environment-file: environment.yaml
- name: Install package
shell: bash -l {0}
run: pip install -e .
- name: Run tests
shell: bash -l {0}
run: python -m unittest discover -s test -v