Skip to content

Add CircleCI config and GitHub workflow to redirect to CircleCI #163

Add CircleCI config and GitHub workflow to redirect to CircleCI

Add CircleCI config and GitHub workflow to redirect to CircleCI #163

Workflow file for this run

name: Python package
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip poetry
poetry env use ${{ matrix.python-version }}
poetry install --with=test
- name: Test with pytest
run: |
poetry run pytest