forked from nipype/pydra
-
Notifications
You must be signed in to change notification settings - Fork 0
61 lines (53 loc) · 1.49 KB
/
testdask.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: Dask Tests
on:
push:
branches:
- master
pull_request:
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
test-name:
- test_boutiques
- test_dockertask
- test_graph
- test_helpers
- test_helpers_file
- test_helpers_state
- test_nipype1_convert
- test_node_task
- test_numpy_examples
- test_profiles
- test_shelltask
- test_shelltask_inputspec
- test_singularity
- test_specs
- test_state
- test_submitter
- test_task
- test_tasks_files
- test_workflow
fail-fast: false
steps:
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
- name: Checkout Pydra repo
uses: actions/checkout@v3
with:
repository: ${{ github.repository }}
- name: Install pydra with Dask and test dependencies
run: |
pip install -e ".[test,dask]"
- name: Run tests
run: |
pytest -v --dask pydra/engine/tests/${{ matrix.test-name }}.py --cov pydra --cov-config .coveragerc --cov-report xml:cov.xml
- name: Upload to codecov
run: codecov -f cov.xml -F unittests -e GITHUB_WORKFLOW