Skip to content

build: rename job and use poetry to run pytest #2

build: rename job and use poetry to run pytest

build: rename job and use poetry to run pytest #2

Workflow file for this run

name: PyTest Tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-22.04
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install Poetry
uses: abatilo/actions-poetry@v2
with:
poetry-version: 1.6.1
- name: Install dependencies
run: poetry install --with dev
- name: Run pytest
run: poetry run pytest --junitxml=junit/test-results.xml --cov=easyverein --cov-report=xml --cov-report=html