Archived
1
0

refactor: add scripts to separate unit, e2e tests

This commit is contained in:
Joe Previte
2021-03-09 16:35:25 -07:00
parent d10da3f7c3
commit 529d69e8e8
7 changed files with 46 additions and 19 deletions

12
ci/steps/test-e2e.sh Executable file
View File

@ -0,0 +1,12 @@
#!/usr/bin/env bash
set -euo pipefail
main() {
cd "$(dirname "$0")/../.."
./release-packages/code-server*-linux-amd64/bin/code-server --home $CODE_SERVER_ADDRESS/healthz &
yarn --frozen-lockfile
yarn test:e2e
}
main "$@"

View File

@ -6,7 +6,7 @@ main() {
yarn --frozen-lockfile
yarn test
yarn test:unit
}
main "$@"