We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77392b4 commit 45719a2Copy full SHA for 45719a2
1 file changed
.github/workflows/run-tests.yml
@@ -0,0 +1,33 @@
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
12
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
0 commit comments