Skip to content

Workflow file for this run

name: Python Tests
on:
push:
branches: [ "main" ]
paths: [ "python/**" ]
pull_request:
branches: [ "main" ]
paths: [ "python/**" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: python
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install
- name: Test with pytest
run: |
poetry run pytest