File tree 2 files changed +31
-30
lines changed
2 files changed +31
-30
lines changed Original file line number Diff line number Diff line change
1
+ # Link repository with GitHub Actions
2
+ # https://docs.github.com/en/actions/learn-github-actions/introduction-to-github-actions
3
+
4
+ # Master branch only
5
+ name : run-tests
6
+ on :
7
+ push :
8
+ branches :
9
+ - master
10
+
11
+ # Set the language, install dependencies, and run the tests
12
+ jobs :
13
+ build :
14
+ runs-on : ${{ matrix.os }}
15
+ strategy :
16
+ matrix :
17
+ os : [windows-latest, ubuntu-latest, macos-latest]
18
+ python-version : [3.6, 3.7, 3.8]
19
+ steps :
20
+ - uses : actions/checkout@v2
21
+ - name : Set up Python ${{ matrix.python-version }}
22
+ uses : actions/setup-python@v2
23
+ with :
24
+ python-version : ${{ matrix.python-version }}
25
+ - name : Install dependencies
26
+ run : |
27
+ python -m pip install --upgrade pip
28
+ pip install -r requirements.txt
29
+ - name : Run nosetests
30
+ run : |
31
+ nosetests
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments