-
Notifications
You must be signed in to change notification settings - Fork 696
45 lines (37 loc) · 1.3 KB
/
defer-integration-tests.yml
File metadata and controls
45 lines (37 loc) · 1.3 KB
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
name: defer-integration-tests
on:
schedule:
- cron: '0 3 * * *'
env:
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
jobs:
defer-with-router-tests:
runs-on: ubuntu-latest
if: github.repository == 'apollographql/apollo-kotlin'
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 #v4.1.7
- working-directory: tests/defer/router/subgraphs/computers
run: |
npm install
APOLLO_PORT=4001 npm start &
- run: |
curl -sSL https://router.apollo.dev/download/nix/latest | sh
- run: |
./router --supergraph tests/defer/router/simple-supergraph.graphqls &
- env:
DEFER_WITH_ROUTER_TESTS: true
run: |
./gradlew --no-daemon --console plain -p tests :defer:allTests
defer-with-apollo-server-tests:
runs-on: ubuntu-latest
if: github.repository == 'apollographql/apollo-kotlin'
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 #v4.1.7
- working-directory: tests/defer/apollo-server/
run: |
npm install --legacy-peer-deps
APOLLO_PORT=4000 npm start &
- env:
DEFER_WITH_APOLLO_SERVER_TESTS: true
run: |
./gradlew --no-daemon --console plain -p tests :defer:allTests