Skip to content

defer-integration-tests #25

defer-integration-tests

defer-integration-tests #25

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