Periodic tests #1894
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@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4 | |
- 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 . |