Skip to content

Merge pull request #5 from 13Mai13/test/add-ci-for-tests #6

Merge pull request #5 from 13Mai13/test/add-ci-for-tests

Merge pull request #5 from 13Mai13/test/add-ci-for-tests #6

Workflow file for this run

name: Python Tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: "3.12"
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest pytest-cov
- name: Run tests with coverage
run: |
pytest --cov=src --cov-report=term-missing