Skip to content

Feature/email update #24

Feature/email update

Feature/email update #24

Workflow file for this run

name: themefinder tests
on:
pull_request:
push:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Use Python from .python-version for consistency
- name: Read Python version
id: read_python_version
run: echo "PYTHON_VERSION=$(cat .python-version)" >> $GITHUB_ENV
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install Poetry
run: |
python -m pip install --upgrade poetry
poetry install
- name: Run tests with Pytest
run: |
poetry run coverage run -m pytest -v -s
- name: Generate coverage report
run: |
poetry run coverage report -m --fail-under=99