Skip to content

scheduled

scheduled #1484

Workflow file for this run

# Scheduled tests without failing on skipped tests
# to verify that nothing has changed in the Web API.
name: scheduled
on:
schedule:
- cron: '0 3 * * *'
jobs:
auth-test:
name: User-authorised Pytest suite
runs-on: ubuntu-latest
env:
SPOTIFY_CLIENT_ID: ${{secrets.SPOTIFY_CLIENT_ID}}
SPOTIFY_CLIENT_SECRET: ${{secrets.SPOTIFY_CLIENT_SECRET}}
SPOTIFY_REDIRECT_URI: ${{secrets.SPOTIFY_REDIRECT_URI}}
SPOTIFY_USER_REFRESH: ${{secrets.SPOTIFY_USER_REFRESH}}
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.11
uses: actions/setup-python@v1
with:
python-version: "3.11"
- name: Install package
run: |
python -m pip install --upgrade pip
pip install -r requirements/tests
pip install .
- name: Run pytest
run: pytest