v0.8.0 RELEASED #238
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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==1.4.2 | |
poetry install | |
- 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/ | |