Adding the rejection policy. #109
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: Test pipeline | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.x | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.x" | |
- name: Install Pylossless & Deps | |
run: pip install -e . | |
- name: Install testing dependencies | |
run: pip install -r requirements_testing.txt | |
- name: Install QC depedencies | |
run: pip install -r requirements_qc.txt | |
- name: install openneuro | |
run: pip install openneuro-py | |
- name: Test Pipeline | |
run: | | |
coverage run -m pytest | |
- name: Upload coverage to codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{secrets.CODECOV_TOKEN}} |