Skip to content

Commit

Permalink
Add CI
Browse files Browse the repository at this point in the history
constantinpape committed Jul 10, 2024
1 parent 70d43c7 commit 3ec5ea5
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
name: build

on: [push, pull_request]

jobs:
test:
name: ${{ matrix.os }} ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.10"]

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

0 comments on commit 3ec5ea5

Please sign in to comment.