Skip to content

Release v0.3.0

Release v0.3.0 #55

Workflow file for this run

name: Tests
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
python-version: ["3.12"]
poetry-version: ["2.1.0"]
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- uses: abatilo/actions-poetry@v3
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Add poetry to PATH
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Install dependencies
run: poetry install --with dev
- name: Run unit tests with coverage
run: poetry run pytest --cov=protea --cov-report=xml --cov-fail-under=65 -q
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
files: coverage.xml
fail_ci_if_error: false