Periodic tests #1028
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Periodic tests | |
on: | |
schedule: | |
# NZST = UTC + 12 | |
# Schedule to run at midnight & lunch-time | |
- cron: '0 0,12 * * *' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: test | |
run: | | |
sudo apt-get update && sudo apt-get install python3-dev && \ | |
sudo pip3 install -U -r test-requirements.txt -r requirements.txt && \ | |
sudo pip3 install . && \ | |
pytest . |