Skip to content

Commit 295edcd

Browse files
authored
ci: remove non docker tests (#834)
1 parent 0d4b9c9 commit 295edcd

1 file changed

Lines changed: 3 additions & 17 deletions

File tree

.github/workflows/test.yaml

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,7 @@ on:
1212
- '*'
1313

1414
jobs:
15-
test-without-docker:
16-
runs-on: ubuntu-latest
17-
steps:
18-
- name: Checkout code
19-
uses: actions/checkout@v6
20-
- name: Set up Go
21-
uses: actions/setup-go@v6
22-
with:
23-
go-version-file: 'go.mod'
24-
- name: Test quickly without Docker
25-
run: go test -v ./...
26-
27-
test-with-docker:
28-
# We don't need to run this longer test if the previous one already failed.
29-
needs: test-without-docker
15+
test:
3016
runs-on: ubuntu-latest
3117
services:
3218
dind:
@@ -40,15 +26,15 @@ jobs:
4026
uses: actions/setup-go@v6
4127
with:
4228
go-version-file: 'go.mod'
43-
- name: Run tests with Docker and calculate coverage
29+
- name: Run tests and calculate coverage
4430
run: |
4531
export GITHUB_ACTIONS=1
4632
export POSTGRES_CONTAINER=1
4733
4834
echo "Running tests..."
4935
go test -v \
5036
-coverpkg=./internal/... \
51-
-coverprofile=profile.cov ./internal/...
37+
-coverprofile=profile.cov ./...
5238
5339
# Exclude e2e files from the coverage profile so they don't
5440
# count against the coverage percentage.

0 commit comments

Comments
 (0)