Skip to content

Commit

Permalink
Ensure port 8080 is free when running make test
Browse files Browse the repository at this point in the history
  • Loading branch information
afritzler committed Sep 19, 2024
1 parent d648ac8 commit 10c6486
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,9 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: Kill any process using port 8080
run: |
if lsof -i :8080; then
kill -9 $(lsof -t -i :8080)
fi
- run: make test

0 comments on commit 10c6486

Please sign in to comment.