Skip to content
---
name: Nightly pipeline logic e2e tests
on:
workflow_dispatch:
schedule:
- cron: '00 21 * * *'
# testing, remove before merge
push:
branches:
- A0-3212
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
build-test-node-and-runtime:
name: Build test node and runtime
uses: ./.github/workflows/_build-test-node-and-runtime.yml
build-test-node-image-and-e2e-client-image:
needs: [build-test-node-and-runtime]
uses: ./.github/workflows/_build-test-node-and-e2e-client-image.yml
run-e2e-tests:
name: Run e2e tests
needs: [build-test-node-image-and-e2e-client-image]
uses: ./.github/workflows/_run-e2e-tests.yml
check-e2e-test-suite-completion:
needs: [run-e2e-tests]
name: Check e2e test suite completion
if: ${{ !cancelled() }}
runs-on: ubuntu-20.04
steps:
- name: All e2e tests completed
run: |
# due to the fact GitHub treats skipped jobs as success, and when any of dependant
# jobs fail, this check will be skipped, we need to check status manually
jq --exit-status 'all(.result == "success")' <<< '${{ toJson(needs) }}'
slack-notification:
name: Slack notification
runs-on: ubuntu-20.04
needs: [check-e2e-test-suite-completion]
if: ${{ !cancelled() && "${{ github.event_name }}" != "workflow_dispatch" }}

Check failure on line 47 in .github/workflows/nightly-e2e-logic-tests.yml

View workflow run for this annotation

GitHub Actions / Nightly pipeline logic e2e tests

Invalid workflow file

The workflow is not valid. .github/workflows/nightly-e2e-logic-tests.yml (Line: 47, Col: 9): Unexpected symbol: '"${{'. Located at position 17 within expression: !cancelled() && "${{ github.event_name
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Send Slack message
uses: ./.github/actions/slack-notification
with:
notify-on: "always"
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_NIGHTLY_PIPELINE }}