Skip to content

DOCS: Add source.

DOCS: Add source. #21

Workflow file for this run

name: Unit Tests
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
name: Test Coverage
defaults:
run:
working-directory: .
steps:
- uses: actions/checkout@v1
- uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install ubuntu packages
run: sudo apt-get update
- name: Install requirements
run: pip install -r requirements.txt
- name: Run tests and collect coverage
run: pytest --cov-config=reinspy/tests/.coveragerc --cov=./ --cov-report=term --cov-report=xml
- name: Upload coverage reports to Codecov with GitHub Action
uses: codecov/codecov-action@v3