Skip to content

fix: update tests. multiple tweaks. #42

fix: update tests. multiple tweaks.

fix: update tests. multiple tweaks. #42

Workflow file for this run

name: Run Battery of Checks
on: [push, pull_request]
jobs:
battery:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ 3.11 ]
steps:
- uses: actions/[email protected]
- name: Set up Python ${{ matrix.python-version }}
uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
- name: Cache Poetry dependencies
uses: actions/[email protected]
with:
path: |
~/.cache/pypoetry
.venv
key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}
restore-keys: |
${{ runner.os }}-poetry-
- name: Install dependencies
run: |
pip install poetry
poetry install --no-root --with dev
- name: Run Coverage
run: poetry run pytest --cov=./PTT --cov-report=xml --cov-report=term
- name: Upload Coverage Report to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: dreulavelle/PTT
file: ./coverage.xml