Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
arichiv committed Dec 10, 2024
1 parent 901953e commit fe37153
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,15 @@ jobs:
- uses: actions/setup-python@v5
with:
cache: 'pip'
- run: |
- name: Run Tests and Validate JSON
run: |
pip install -r requirements.txt
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)
- if: ${{ env.VALIDATION_RESULTS == 'success' }}
- name: Record Failure
if: ${{ env.VALIDATION_RESULTS == 'success' }}
uses: actions/github-script@v3
with:
script: core.setFailed('This run has failed.')

0 comments on commit fe37153

Please sign in to comment.