forked from neo4j/graphql
-
Notifications
You must be signed in to change notification settings - Fork 0
66 lines (54 loc) · 1.96 KB
/
dev.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
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-coverage-archival: ${{ github.event_name == 'schedule' }}
api-library-tests:
uses: ./.github/workflows/reusable-api-library-tests.yml
with:
disable-coverage-archival: ${{ github.event_name == 'schedule' }}
package-tests:
uses: ./.github/workflows/reusable-package-tests.yml
integration-tests-on-prem:
uses: ./.github/workflows/reusable-integration-tests-on-prem.yml
with:
disable-coverage-archival: ${{ github.event_name == 'schedule' }}
integration-tests-on-prem-nightly:
uses: ./.github/workflows/reusable-integration-tests-on-prem-nightly.yml
with:
disable-coverage-archival: ${{ github.event_name == 'schedule' }}
secrets:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_NEO4J_DEV_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_NEO4J_DEV_SECRET_ACCESS_KEY }}
notification:
runs-on: ubuntu-latest
needs:
- code-scanning
- unit-tests
- api-library-tests
- package-tests
- integration-tests-on-prem
- integration-tests-on-prem-nightly
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/slack-github-action@fcfb566f8b0aab22203f066d80ca1d7e4b5d05b3 # v1.27.1
with:
payload: '{"url":"https://github.com/neo4j/graphql/actions/runs/${{ github.run_id }}"}'
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_PIPELINE_FAILURE_WEBHOOK_URL }}