Daily CI Tests #451
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
# This workflow runs the "live" test set once a day to detect API | |
# breakages. | |
name: Daily CI Tests | |
on: | |
schedule: | |
- cron: "0 6 * * *" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install -r ./requirements.txt | |
- name: Run live tests | |
if: github.repository == 'leonhard-s/auraxium' && github.event_name != 'pull_request' | |
env: | |
SERVICE_ID: ${{secrets.REPO_SERVICE_ID}} | |
run: | | |
python -m unittest discover -p *_test.py tests/live/ |