Skip to content

initial fixes

initial fixes #119

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