Skip to content

Merge pull request #216 from oliveira-caio/fix_cuda_bug #333

Merge pull request #216 from oliveira-caio/fix_cuda_bug

Merge pull request #216 from oliveira-caio/fix_cuda_bug #333

Workflow file for this run

name: Test
on:
push:
pull_request:
branches: [master, main]
jobs:
test:
if: github.repository_owner == 'sinzlab'
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Run tests and generate coverage report
run: touch .env && docker-compose run -v "$PWD/reports:/reports" pytest --cov --cov-report=xml:/reports/coverage.xml test
- name: Upload coverage report to Codecov
run: bash <(curl -s https://codecov.io/bash)
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}