Skip to content

Fix plotting tests #342

Fix plotting tests

Fix plotting tests #342

# This workflow will install Python dependencies, run tests and lint with a single version of Python
name: Perform unit tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: poetry
cache-dependency-path: poetry.lock
- name: Set Poetry environment
run: poetry env use 3.11
- name: Install dependencies
run: poetry install --no-root
- name: Run pytest
run: poetry run pytest