Skip to content

Merge pull request #151 from DerDreschner/feature/update-poetry-and-p… #199

Merge pull request #151 from DerDreschner/feature/update-poetry-and-p…

Merge pull request #151 from DerDreschner/feature/update-poetry-and-p… #199

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Run pytest
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: '3.9'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry==2.0.1
poetry install
- name: Test with pytest
run: |
poetry run coverage run test.py
poetry run coverage xml
- name: 'Upload coverage to Codecov'
uses: codecov/codecov-action@v5
with:
fail_ci_if_error: false