Skip to content

Commit

Permalink
feat: adds wait-on
Browse files Browse the repository at this point in the history
  • Loading branch information
HashMapsData2Value committed Oct 29, 2024
1 parent db66516 commit b061295
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ jobs:
- name: Start Docker Compose
run: docker compose up -d

- name: Wait for the server to start
run: npx wait-on localhost:8080

- name: Install dependencies
run: go get .

Expand Down Expand Up @@ -55,7 +58,7 @@ jobs:
- name: Test with the Go CLI
run: go test ./... -coverprofile=./cover.out -covermode=atomic -coverpkg=./...

- name: check test coverage
- name: Check test coverage
uses: vladopajic/go-test-coverage@v2
with:
config: ./.testcoverage.yaml

0 comments on commit b061295

Please sign in to comment.