Skip to content

Nightly Wagtail Test #83

Nightly Wagtail Test

Nightly Wagtail Test #83

Workflow file for this run

name: Nightly Wagtail Test
on:
schedule:
- cron: '0 1 * * *'
# At 01:00, daily
workflow_dispatch:
jobs:
nightly-wagtail-test:
runs-on: ubuntu-latest
env:
WEBHOOK_EXISTS: ${{ secrets.SLACK_WEBHOOK_URL != '' }}
if: ${{ secrets.SLACK_WEBHOOK_URL != '' }}

Check failure on line 14 in .github/workflows/nightly.yml

View workflow run for this annotation

GitHub Actions / Nightly Wagtail Test

Invalid workflow file

The workflow is not valid. .github/workflows/nightly.yml (Line: 14, Col: 9): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.SLACK_WEBHOOK_URL != ''
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- run: git clone https://github.com/wagtail/wagtail.git
- run: python -m pip install flit
- run: flit install --deps production --extras testing
- run: python -m pip install ./wagtail
- run: python tests/manage.py test
- name: Report failure
run: |
python -m pip install requests
python ./.github/scripts/report_nightly_build_failure.py
if: ${{ failure() && env.WEBHOOK_EXISTS == 'true' }}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}