Skip to content

dev

dev #3

Workflow file for this run

name: "dev"
concurrency: "dev"
on:
push:
branches:
- dev
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
schedule:
- cron: "0 3 * * *"
jobs:
code-scanning:
uses: ./.github/workflows/reusable-codeql-analysis.yml
unit-tests:
uses: ./.github/workflows/reusable-unit-tests.yml
with:
disable-code-cov-upload: ${{ github.event_name == 'schedule' }}
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
api-library-tests:
uses: ./.github/workflows/reusable-api-library-tests.yml
with:
disable-code-cov-upload: ${{ github.event_name == 'schedule' }}
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
package-tests:
uses: ./.github/workflows/reusable-package-tests.yml
integration-tests-on-prem:
uses: ./.github/workflows/reusable-integration-tests-on-prem.yml
with:
disable-code-cov-upload: ${{ github.event_name == 'schedule' }}
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
integration-tests-on-prem-nightly:
uses: ./.github/workflows/reusable-integration-tests-on-prem-nightly.yml
with:
disable-code-cov-upload: ${{ github.event_name == 'schedule' }}
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_NEO4J_DEV_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_NEO4J_DEV_SECRET_ACCESS_KEY }}
toolbox-tests:
uses: ./.github/workflows/reusable-toolbox-tests.yml
notification:
runs-on: ubuntu-latest
needs:
- code-scanning
- unit-tests
- api-library-tests
- package-tests
- integration-tests-on-prem
- integration-tests-on-prem-nightly
- toolbox-tests
if: always()
steps:
- uses: martialonline/workflow-status@fe13c6a4716673e224038aa1b02387352fb35e13 # v4
id: check
- name: Send Slack announcement of pipeline failure
if: steps.check.outputs.status == 'failure' && github.event_name == 'schedule'
uses: slackapi/[email protected]
with:
payload: '{"url":"https://github.com/neo4j/graphql/actions/runs/${{ github.run_id }}"}'
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_PIPELINE_FAILURE_WEBHOOK_URL }}