Skip to content

coverage testing

coverage testing #4

Workflow file for this run

name: testing
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
name: Tests
steps:
- uses: actions/checkout@v1
- name: Install
run: cd python && pip install -e .
- name: Install packages needed for tests
run: pip install pytest pytest-asyncio pytest-cov boto3 kachery_cloud
- name: Run tests and collect coverage
run: cd python && pytest --cov protocaas --cov-report=xml --cov-report=term tests/
- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false
file: ./python/coverage.xml
flags: unittests