ci: Fix daily

Preinstall playwright deps to avoid conflict between test and race.
This commit is contained in:
Anmol Sethi 2023-07-31 21:24:52 -07:00
parent 58188e2736
commit cd11c8fa5f
No known key found for this signature in database
GPG key ID: 8CEF1878FF10ADEB
2 changed files with 5 additions and 1 deletions

View file

@ -16,7 +16,7 @@ jobs:
with:
go-version-file: ./go.mod
cache: true
- run: COLOR=1 CI_FORCE=1 ./make.sh all race
- run: DAILY=1 COLOR=1 CI_FORCE=1 ./make.sh all race
env:
GITHUB_TOKEN: ${{ secrets._GITHUB_TOKEN }}
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}

View file

@ -14,4 +14,8 @@ if ! go version | grep -qF '1.20'; then
exit 1
fi
if [ "${DAILY-}" ]; then
export FORCE_COLOR=1
npx playwright@1.31.1 install --with-deps chromium
fi
_make "$@"