diff --git a/.github/workflows/daily.yml b/.github/workflows/daily.yml index 0f9f15eb3..3883537f4 100644 --- a/.github/workflows/daily.yml +++ b/.github/workflows/daily.yml @@ -16,7 +16,7 @@ jobs: with: go-version-file: ./go.mod cache: true - - run: DAILY=1 COLOR=1 CI_FORCE=1 ./make.sh all race + - run: COLOR=1 CI_FORCE=1 ./make.sh all race env: GITHUB_TOKEN: ${{ secrets._GITHUB_TOKEN }} DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }} diff --git a/ci/test.sh b/ci/test.sh index f7d92a6de..81580c209 100755 --- a/ci/test.sh +++ b/ci/test.sh @@ -6,8 +6,4 @@ if [ "$*" = "" ]; then set ./... fi -if [ "${CI:-}" ]; then - export FORCE_COLOR=1 - npx playwright@1.31.1 install --with-deps chromium -fi go test --timeout=30m "$@" diff --git a/make.sh b/make.sh index a2615001f..9c244eb0d 100755 --- a/make.sh +++ b/make.sh @@ -14,7 +14,7 @@ if ! go version | grep -qF '1.20'; then exit 1 fi -if [ "${DAILY-}" ]; then +if [ "${CI:-}" ]; then export FORCE_COLOR=1 npx playwright@1.31.1 install --with-deps chromium fi