Skip to content

Dem 93

Dem 93 #27

Workflow file for this run

name: Unittest Action
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repo content
uses: actions/checkout@v2
- name: Install dependencies
run: |
pip install --user poetry
poetry install
source $(poetry env info --path)/bin/activate
pip install pytest
pip install pytest-cov
- name: execute tests
run: |
source $(poetry env info --path)/bin/activate
python -m pytest tests
- name: coverage
run: |
source $(poetry env info --path)/bin/activate
python -m pytest --cov=dem tests/