File tree 2 files changed +45
-0
lines changed
2 files changed +45
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : ci
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ pull_request :
8
+ schedule :
9
+ [cron : " 0 12 * * 0" ]
10
+
11
+ jobs :
12
+ build :
13
+ runs-on : ${{ matrix.os }}
14
+ strategy :
15
+ matrix :
16
+ os : [ubuntu-latest, windows-latest, macOS-latest]
17
+ python-version : [3.8]
18
+ name : ${{ matrix.os }}, Python ${{ matrix.python-version }}
19
+ defaults :
20
+ run :
21
+ shell : bash -l {0}
22
+ steps :
23
+ - uses : actions/checkout@v2
24
+ - uses : conda-incubator/setup-miniconda@v2
25
+ with :
26
+ python-version : ${{ matrix.python-version }}
27
+ - name : Cache pip
28
+ uses : actions/cache@v2
29
+ with :
30
+ path : ~/.cache/pip
31
+ key : ${{ runner.os }}-pip-${{ hashFiles('requirements-dev.txt') }}-${{ matrix.python-version }}
32
+ restore-keys : |
33
+ ${{ runner.os }}-pip-${{ matrix.python-version }}-
34
+ ${{ runner.os }}-${{ matrix.python-version }}-
35
+ - run : pip install -r requirements-dev.txt
36
+ - run : pip install -e .
37
+ - name : Test
38
+ run : pytest -v
Original file line number Diff line number Diff line change
1
+ # From requirements.txt
2
+ numpy
3
+ scipy >= 1.6.0
4
+
5
+ # Dev additions
6
+ pytest
7
+ matplotlib
You can’t perform that action at this time.
0 commit comments