Merge pull request #55 from catalystneuro/run_processing_only #200
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: Example workflow for Codecov | |
on: [push] | |
jobs: | |
run: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@master | |
- name: Setup Python | |
uses: actions/setup-python@master | |
with: | |
python-version: 3.8 | |
- name: Install dependencies | |
run: | | |
conda update conda | |
pip install -r requirements.txt | |
- name: Install extension | |
run: | | |
pip install -e . | |
- name: Generate coverage report | |
run: | | |
# Temporarily disabling tests and coverage of older project | |
# pip install pytest | |
# pip install pytest-cov | |
# pytest --cov=./ --cov-report=xml | |
#- name: Upload coverage to Codecov | |
# uses: codecov/codecov-action@v1 | |
# with: | |
# token: ${{ secrets.CODECOV_TOKEN }} | |
# file: ./coverage.xml | |
# flags: unittests | |
# name: codecov-umbrella | |
# yml: ./codecov.yml |