mirror of
https://github.com/ossf/scorecard.git
synced 2024-09-11 08:55:27 +03:00
Fix - Fixes the e2e tests for PR's
This commit is contained in:
parent
7ef0cf9c55
commit
6dd3698be8
12
.github/workflows/main.yml
vendored
12
.github/workflows/main.yml
vendored
@ -25,9 +25,15 @@ jobs:
|
||||
env:
|
||||
GITHUB_AUTH_TOKEN: ${{ secrets.GH_AUTH_TOKEN }}
|
||||
run: |
|
||||
go get github.com/onsi/ginkgo/ginkgo@v1.14.2
|
||||
go mod download
|
||||
make e2e
|
||||
if [[ ! -v GITHUB_AUTH_TOKEN ]]; then
|
||||
echo "GITHUB_AUTH_TOKEN is not set, skip test"
|
||||
elif [[ -z "$GITHUB_AUTH_TOKEN" ]]; then
|
||||
echo "GITHUB_AUTH_TOKEN is set to the empty string, skip test"
|
||||
else
|
||||
go get github.com/onsi/ginkgo/ginkgo@v1.14.2
|
||||
go mod download
|
||||
make e2e
|
||||
fi
|
||||
- uses: codecov/codecov-action@v1
|
||||
with:
|
||||
files: e2e/e2e.coverprofile,pkg/pkg.coverprofile,checks/checks.coverprofile
|
||||
|
Loading…
Reference in New Issue
Block a user