initial fixes #119
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: Prepare coverage report | |
on: | |
push: | |
jobs: | |
unittest_and_coverage: | |
runs-on: ubuntu-latest | |
name: Coverage tests | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.7' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Test with unittest | |
run: | | |
coverage run --source=taurunner/ -m unittest discover test/ | |
continue-on-error: true | |
- name: coverage-report | |
run: | | |
coverage report | |
coverage html -d coverage_report | |
- name: Upload | |
uses: actions/upload-artifact@v1 | |
with: | |
name: coverage-artifact | |
# This is the output path where Pandoc will write the compiled | |
# PDF. Note, this should be the same directory as the input | |
# paper.md | |
path: coverage_report |