mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 15:51:43 +00:00
21 lines
587 B
Bash
Executable File
21 lines
587 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
echo "--- Download pre-built client artifact"
|
|
buildkite-agent artifact download 'client.tar.gz' . --step 'puppeteer:prep'
|
|
tar -xf client.tar.gz -C .
|
|
|
|
echo "--- Yarn install in root"
|
|
# mutex is necessary since CI runs various yarn installs in parallel
|
|
yarn --mutex network --frozen-lockfile --network-timeout 60000 --silent
|
|
|
|
echo "--- Run integration test suite"
|
|
yarn percy exec --quiet -- yarn _cover-integration "$@"
|
|
|
|
echo "--- Process NYC report"
|
|
yarn nyc report -r json
|
|
|
|
echo "--- Upload coverage report"
|
|
dev/ci/codecov.sh -c -F typescript -F integration
|