Skip to content

Commit

Permalink
fix: fix pipeline (#3)
Browse files Browse the repository at this point in the history
* fix: fix pipeline and action ginkgo
  • Loading branch information
joyarzun authored May 20, 2023
1 parent 49f238a commit 0946670
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,17 @@ on:
push:
branches:
- main
- feature/**
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: gotest
uses: ./
with:
workdir: test-gotest
with:
workdir: test-gotest
- name: goginkgo
uses: ./
with:
workdir: test-ginkgo
use-ginkgo: true
with:
workdir: test-ginkgo
use-ginkgo: true
1 change: 1 addition & 0 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ runs:
run: |
cd "$WORKDIR"
if $USE_GINKGO -eq "true"; then
go install github.com/onsi/ginkgo/v2/ginkgo
ginkgo -v -cover -covermode=count -coverpkg=./... ./...
else
go test -v -coverprofile=coverprofile.out ./...
Expand Down

0 comments on commit 0946670

Please sign in to comment.