Skip to content

Use annotation instead of field for tagged union (#244) #58

Use annotation instead of field for tagged union (#244)

Use annotation instead of field for tagged union (#244) #58

Workflow file for this run

name: test
on:
push:
branches:
- main
jobs:
test:
name: ${{ matrix.platform }} py${{ matrix.python-version }}
runs-on: ${{ matrix.platform }}
strategy:
max-parallel: 3
matrix:
platform: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ".[dev]"
- name: Test with pytest
run: |
pytest -v --cov=./iohub --cov-report=xml