type ignore a couple lines #11
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: testing | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Test | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install | |
run: cd python && pip install -e . | |
- name: Install packages needed for tests | |
run: pip install pytest pytest-cov pyright boto3 kachery_cloud | |
- name: Run tests and collect coverage | |
run: cd python && pyright && pytest --cov protocaas --cov-report=xml --cov-report=term tests/ | |
- uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
fail_ci_if_error: true | |
file: ./python/coverage.xml | |
flags: unittests |