forked from neo4j/graphql
-
Notifications
You must be signed in to change notification settings - Fork 0
69 lines (63 loc) · 2.22 KB
/
aura-tests.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
67
68
69
name: "Aura Tests"
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
schedule:
- cron: "0 3 * * *"
pull_request_target:
branches:
- dev
paths:
- "**/CHANGELOG.md"
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}-aura
cancel-in-progress: true
jobs:
aura-free-tests:
if: |
github.event_name != 'pull_request_target' ||
github.event.pull_request.user.login == 'neo4j-team-graphql' &&
startsWith(github.head_ref, 'changeset-release/')
uses: ./.github/workflows/reusable-aura-tests.yml
with:
BRANCH: ${{ github.head_ref || github.ref }}
secrets:
URI: ${{ secrets.AURA_FREE_URI }}
PASSWORD: ${{ secrets.AURA_FREE_PASSWORD }}
concurrency: aura-free
aura-professional-4-tests:
if: |
github.event_name != 'pull_request_target' ||
github.event.pull_request.user.login == 'neo4j-team-graphql' &&
startsWith(github.head_ref, 'changeset-release/')
uses: ./.github/workflows/reusable-aura-tests.yml
with:
BRANCH: ${{ github.head_ref || github.ref }}
secrets:
URI: ${{ secrets.AURA_PROFESSIONAL_4_URI }}
PASSWORD: ${{ secrets.AURA_PROFESSIONAL_4_PASSWORD }}
concurrency: aura-professional-4
aura-professional-5-tests:
if: |
github.event_name != 'pull_request_target' ||
github.event.pull_request.user.login == 'neo4j-team-graphql' &&
startsWith(github.head_ref, 'changeset-release/')
uses: ./.github/workflows/reusable-aura-tests.yml
with:
BRANCH: ${{ github.head_ref || github.ref }}
secrets:
URI: ${{ secrets.AURA_PROFESSIONAL_5_URI }}
PASSWORD: ${{ secrets.AURA_PROFESSIONAL_5_PASSWORD }}
concurrency: aura-professional-5
aura-enterprise-5-tests:
if: |
github.event_name != 'pull_request_target' ||
github.event.pull_request.user.login == 'neo4j-team-graphql' &&
startsWith(github.head_ref, 'changeset-release/')
uses: ./.github/workflows/reusable-aura-tests.yml
with:
BRANCH: ${{ github.head_ref || github.ref }}
secrets:
URI: ${{ secrets.AURA_ENTERPRISE_5_URI }}
PASSWORD: ${{ secrets.AURA_ENTERPRISE_5_PASSWORD }}
concurrency: aura-enterprise-5