Skip to content

ci: add pytest in the pipeline #1

ci: add pytest in the pipeline

ci: add pytest in the pipeline #1

Workflow file for this run

name: Run unit tests
on:
push:
branches:
- main
jobs:
test:
name: Run unit tests
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .
pip install .[dev]
- name: Run Pytest
run: |
python pytest tests/ -s --junitxml=path