File tree 1 file changed +42
-0
lines changed 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Dask Tests
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ pull_request :
8
+
9
+ jobs :
10
+ test :
11
+ name : Test
12
+ runs-on : ubuntu-latest
13
+ strategy :
14
+ matrix :
15
+ python-version : [3.7, 3.8, 3.9, "3.10"]
16
+ fail-fast : false
17
+
18
+ steps :
19
+ - name : Set up Python ${{ matrix.python-version }}
20
+ uses : actions/setup-python@v2
21
+ with :
22
+ python-version : ${{ matrix.python-version }}
23
+
24
+ - name : Install dependencies
25
+ run : |
26
+ python -m pip install --upgrade pip
27
+
28
+ - name : Checkout Pydra repo
29
+ uses : actions/checkout@v3
30
+ with :
31
+ repository : ${{ github.repository }}
32
+
33
+ - name : Install pydra with Dask and test dependencies
34
+ run : |
35
+ pip install -e ".[test,dask]"
36
+
37
+ - name : Run tests
38
+ run : |
39
+ pytest -v --dask pydra/engine --cov pydra --cov-config .coveragerc --cov-report xml:cov.xml
40
+
41
+ - name : Upload to codecov
42
+ run : codecov -f cov.xml -F unittests -e GITHUB_WORKFLOW
You can’t perform that action at this time.
0 commit comments