Skip to content

Add GitHub Actions build #1

Add GitHub Actions build

Add GitHub Actions build #1

Workflow file for this run

name: Python package
on: [push]
jobs:
build:
runs-on: ubuntu-lateststeps:

Check failure on line 5 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

You have an error in your yaml syntax on line 5
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: "Run tests"
run: "hatch -v run test.py$(echo ${{ matrix.python-version }} | tr -d '.'):pytest"