Skip to content

Commit

Permalink
ci: debugging port in use (#1734)
Browse files Browse the repository at this point in the history
  • Loading branch information
gak authored Jun 11, 2024
1 parent e68eda3 commit 75a9995
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,36 @@ jobs:
name: Test Go
runs-on: ubuntu-latest
steps:
- name: Show all TCP ports listening
run: sudo netstat -lpnt
- name: Checkout code
uses: actions/checkout@v4
- name: Init Hermit
uses: cashapp/activate-hermit@v1
- name: Build Cache
uses: ./.github/actions/build-cache
- name: Show all TCP ports listening
run: sudo netstat -lpnt
- name: Docker Compose
run: docker compose up -d --wait
- name: Show all TCP ports listening
run: sudo netstat -lpnt
- name: Test
run: go-test-annotate
test-readme:
name: Test README
runs-on: ubuntu-latest
steps:
- name: Show all TCP ports listening
run: sudo netstat -lpnt
- name: Checkout code
uses: actions/checkout@v4
- name: Init Hermit
uses: cashapp/activate-hermit@v1
- name: Build Cache
uses: ./.github/actions/build-cache
- name: Show all TCP ports listening
run: sudo netstat -lpnt
- name: Docker Compose
run: docker compose up -d --wait
- name: Test README
Expand All @@ -40,14 +50,20 @@ jobs:
name: SQL
runs-on: ubuntu-latest
steps:
- name: Show all TCP ports listening
run: sudo netstat -lpnt
- name: Checkout code
uses: actions/checkout@v4
- name: Init Hermit
uses: cashapp/activate-hermit@v1
- name: Build Cache
uses: ./.github/actions/build-cache
- name: Show all TCP ports listening
run: sudo netstat -lpnt
- name: Docker Compose
run: docker compose up -d --wait
- name: Show all TCP ports listening
run: sudo netstat -lpnt
- name: Initialise database
run: just init-db
- name: Vet SQL
Expand Down Expand Up @@ -171,6 +187,8 @@ jobs:
fail-fast: false
matrix: ${{fromJson(needs.integration-shard.outputs.matrix)}}
steps:
- name: Show all TCP ports listening
run: sudo netstat -lpnt
- name: Checkout code
uses: actions/checkout@v4
- name: Init Hermit
Expand All @@ -179,10 +197,16 @@ jobs:
cache: true
- name: Build Cache
uses: ./.github/actions/build-cache
- name: Show all TCP ports listening
run: sudo netstat -lpnt
- name: Docker Compose
run: docker compose up -d --wait
- name: Show all TCP ports listening
run: sudo netstat -lpnt
- name: Create DB
run: just init-db
- name: Show all TCP ports listening
run: sudo netstat -lpnt
- name: Download Go Modules
run: go mod download
- name: Run ${{ matrix.test }}
Expand All @@ -194,5 +218,7 @@ jobs:
needs: [integration-run]
runs-on: ubuntu-latest
steps:
- name: Show all TCP ports listening
run: sudo netstat -lpnt
- name: Ok
run: echo "Integration tests passed"

0 comments on commit 75a9995

Please sign in to comment.