Skip to content

Weekly CI Tests

Weekly CI Tests #115

# GitHub Actions workflow that runs on a cron schedule.
# Check URLs and run latest deps with remote tests
name: Weekly CI Tests
on:
schedule:
# run at 5am UTC on Mondays
- cron: '0 5 * * 1'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
IS_CRON: 'true'
jobs:
tests:
runs-on: ubuntu-latest
env:
ARCH_ON_CI: "normal"
strategy:
fail-fast: false
matrix:
include:
- name: Check links in docs using tox
toxenv: linkcheck
- name: Check dev versions of key dependencies
python: '3.11'
toxenv: py311-test-devdeps
toxposargs: --remote-data
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install base dependencies
run: |
python -m pip install --upgrade pip tox
- name: Run tests
env:
ADS_DEV_KEY: ${{ secrets.ADS_DEV_KEY }}
run: tox ${{ matrix.toxargs }} -e ${{ matrix.toxenv }} -- ${{ matrix.toxposargs }}