File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Scheduled unit tests
2+ # Controls when the action will run.
3+ # Every week "At 07:17 on Sunday."
4+ # See https://crontab.guru/#17_7_*_*_7
5+
6+ # This way we know for sure package will keep working with
7+ # potential new downstream updates
8+ on :
9+ workflow_dispatch :
10+ schedule :
11+ - cron : " 17 7 * * 7"
12+
13+ jobs :
14+ run :
15+ name : Run unit tests
16+ runs-on : ubuntu-latest
17+ steps :
18+ - uses : actions/checkout@master
19+
20+ - name : Setup Python
21+ uses : actions/setup-python@master
22+ with :
23+ python-version : 3.9
24+
25+ - name : Install dependencies
26+ run : |
27+ pip3 install --upgrade pip
28+ pip3 install --upgrade setuptools
29+ pip3 install --upgrade wheel
30+ pip3 install -r tests/test_requirements.txt
31+ pip3 install .
32+
33+ - name : Run unit tests
34+ run : |
35+ pytest
36+
You can’t perform that action at this time.
0 commit comments