Skip to content

Daily CI Tests

Daily CI Tests #61

# 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/