File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : run-tests
2
+ on :
3
+ # test cron by running it once a day at 01:00
4
+ schedule :
5
+ - cron : ' 0 1 * * *'
6
+ push :
7
+ branches :
8
+ - master
9
+ - dev
10
+ pull_request :
11
+ branches :
12
+ - master
13
+ jobs :
14
+ tests :
15
+ runs-on : ${{ matrix.os }}
16
+ strategy :
17
+ matrix :
18
+ os : [ubuntu-latest]
19
+ python-version : [3.6]
20
+ steps :
21
+ - uses : actions/checkout@v2
22
+ - name : Setup Python ${{ matrix.python-version }}
23
+ uses : actions/setup-python@v2
24
+ with :
25
+ python-version : ${{ matrix.python-version }}
26
+ - name : Display Python version
27
+ run : python -c "import sys; print(sys.version)"
28
+ - name : Install dependencies
29
+ run : |
30
+ python setup.py install
31
+ pip install owlrl requests pytest
32
+ - name : Run tests
33
+ run : pytest
You can’t perform that action at this time.
0 commit comments