Skip to content

Commit 6033885

Browse files
committed
fix: another try
1 parent 0a0ca09 commit 6033885

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/makefile.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: build
1+
name: build and test
22

33
on:
44
push:
@@ -24,10 +24,8 @@ jobs:
2424
# - name: build using makefile
2525
# run: make websocketd
2626

27-
- name: build native
28-
run: go build
27+
- name: build and run websocketd
28+
run: go run --port=8080 ./examples/bash/count.sh &
2929

3030
- name: test
31-
run: |
32-
./websocketd --port=8080 ./examples/bash/count.sh &
33-
./websocat.x86_64-unknown-linux-musl -E ws://$(hostname):8080
31+
run: ./websocat.x86_64-unknown-linux-musl -E ws://127.0.0.1:8080

0 commit comments

Comments
 (0)