github.com/shippio/gqlgen@v0.0.0-20220912092219-633ea699ef07/.github/workflows/check-federation (about)

     1  #!/bin/bash
     2  
     3  set -euo pipefail
     4  
     5  cd _examples/federation
     6  
     7  ./start.sh &
     8  
     9  sleep 5
    10  curl -s --connect-timeout 5 \
    11      --max-time 10 \
    12      --retry 5 \
    13      --retry-delay 5 \
    14      --retry-max-time 40 \
    15      --retry-connrefused \
    16      localhost:4003 > /dev/null
    17  
    18  sleep 1
    19  
    20  echo "### running jest integration spec"
    21  ./node_modules/.bin/jest --color
    22