Skip to content

add a type check workflow #47

add a type check workflow

add a type check workflow #47

Workflow file for this run

name: Run tests
on:
workflow_dispatch:
pull_request:
push:
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Setup yt_experiments
run: |
python -m pip install --upgrade pip
python -m pip install -e .[test]
- name: Run tests
run: pytest