We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9674523 commit 1d9c2d0Copy full SHA for 1d9c2d0
.github/workflows/python-tests.yml
@@ -0,0 +1,34 @@
1
+name: Python Tests
2
+
3
+on:
4
+ push:
5
+ branches: [ master, dev ]
6
+ pull_request:
7
+ branches: [ master ]
8
9
+jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - uses: actions/checkout@v2
15
16
+ - name: Set up Miniconda
17
+ uses: conda-incubator/setup-miniconda@v2
18
+ with:
19
+ auto-update-conda: true
20
+ python-version: 3.7
21
22
+ - name: Install dependencies
23
+ shell: bash -l {0}
24
+ run: |
25
+ conda create -n tracepyci python=3.7 --yes
26
+ conda activate tracepyci
27
+ conda install --yes numpy scipy matplotlib scikit-learn pandas pytest pytest-cov
28
+ pip install .
29
30
+ - name: Run tests
31
32
33
34
+ pytest tests/
0 commit comments