Skip to content

Commit

Permalink
Add CI test to check builtin links weekly
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminrose committed Nov 5, 2021
1 parent 8ef16d5 commit 7efbc6b
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/verify_builtins_downloads.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Test that builtins download every week
# Downloads ~1 GB of data and runs in a few minutes (Nov 5, 2021)

name: Builtins download check

# Controls when the workflow will run
on:
schedule:
# https://crontab.guru/#5_1_1_*_*
# cant use special cron keys like @weekly in GitHub Actions
- cron: '5 1 * * 1'

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
builtins:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install Python dependencies
run: python -m pip install --upgrade tox
- name: Run tests
run: tox -e builtins

0 comments on commit 7efbc6b

Please sign in to comment.