Skip to content

Commit

Permalink
Use github runner host node.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cedric BAIL committed Jan 14, 2024
1 parent d076a85 commit 0f04cac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,12 @@ jobs:
run: |
sudo apt-get update && sudo apt-get install gcc libgl1-mesa-dev libegl1-mesa-dev libgles2-mesa-dev libx11-dev xorg-dev
- uses: actions/setup-node@v4

- name: Update coverage
run: |
set -e
export PLAYWRIGHT_NODEJS_PATH=$(which node)
go test -tags e2e -covermode=atomic -coverprofile=coverage.out ./...
coverage=`go tool cover -func coverage.out | grep total | tr -s '\t' | cut -f 3 | grep -o '[^%]*'`
if (( $(echo "$coverage < 63" | bc) )); then echo "Test coverage lowered"; fi
Expand Down

0 comments on commit 0f04cac

Please sign in to comment.