Periodic tests #2017
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@11bd71901bbe5b1630ceea73d27597364c9af683 # 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 . |