Skip to content

Commit

Permalink
merge e2e test and normal test
Browse files Browse the repository at this point in the history
  • Loading branch information
dxyinme committed Jan 2, 2024
1 parent 7cc832d commit bf05c77
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,7 @@ jobs:
go-version: ${{ matrix.go_version }}

- name: Test
run: go test -v -coverprofile=normal-coverage.txt -covermode=atomic $(go list ./... | grep -v github.com/libi/dcron/e2e)

- name: Test E2E
run: go test -v -coverprofile=e2e-coverage.txt -covermode=atomic ./e2e
run: go test -v -coverprofile=coverage.txt -covermode=atomic ./...

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.idea
.idea/*
bin/
bin/
coverage.txt
coverage.html

0 comments on commit bf05c77

Please sign in to comment.