Skip to content

Workflow file for this run

name: cron
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: '0 14 * * 2' # 2pm UTC each Tuesday
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
cache: 'pip'
- name: Run Tests and Validate JSON
run: |
pip install -r requirements.txt

Check failure on line 19 in .github/workflows/cron.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/cron.yml

Invalid workflow file

You have an error in your yaml syntax on line 19
python tests/rws_tests.py
python check_sites.py -i related_website_sets.JSON --with_diff --strict_formatting > results.txt
cat results.txt
export VALIDATION_RESULTS=$(cat results.txt)
- name: Record Failure
if: ${{ env.VALIDATION_RESULTS == 'success' }}
uses: actions/github-script@v3
with:
script: core.setFailed('This run has failed.')