Skip to content

Bump actions/checkout from 3 to 4 #219

Bump actions/checkout from 3 to 4

Bump actions/checkout from 3 to 4 #219

Workflow file for this run

name: Python package
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install dependencies
run: python -m pip install --upgrade pip setuptools wheel
- name: Install python package
run: pip install ".[test]"
- name: Test with pytest
run: |
pip install pytest
pytest tests/ -rsx --verbose