We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7d4cc1 commit 671dd0eCopy full SHA for 671dd0e
.github/workflows/tests.yml
@@ -24,21 +24,16 @@ jobs:
24
cache-dependency-path: |
25
go.sum
26
27
- - name: Start Todo API
28
- uses: JarvusInnovations/background-action@v1
29
- with:
30
- run: go run test_api/todo/server.go
31
- wait-on: |
32
- http://localhost:8080
33
- tail: true
+ - name: Start Todo Server
+ run: |
+ go run test_api/todo/server.go &
+ go run main.go &
34
35
- - name: Start Cache API
36
37
38
- run: go run main.go
39
40
- http://localhost:9090
41
+ - name: Wait for Todo Server
+ go install github.com/bitnami/wait-for-port
+ wait-for-port 8080
+ wait-for-port 9090
42
43
- name: Run Tests
44
run: |
0 commit comments