Skip to content

Commit d56fb5b

Browse files
committed
ci: split out postgres unit-test run for parallelism
1 parent d00bfab commit d56fb5b

File tree

1 file changed

+19
-4
lines changed

1 file changed

+19
-4
lines changed

.github/workflows/main.yml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,10 @@ jobs:
125125
run: make docs-check
126126

127127
########################
128-
# run unit tests
128+
# run unit-test sqlite3 race
129129
########################
130130
unit-test:
131-
name: run unit tests
131+
name: run unit-test sqlite3 race
132132
runs-on: ubuntu-latest
133133
steps:
134134
- name: git checkout
@@ -139,10 +139,25 @@ jobs:
139139
with:
140140
go-version: '~${{ env.GO_VERSION }}'
141141

142-
- name: run unit tests
142+
- name: run unit-test sqlite3 race
143143
run: make unit-race
144144

145-
- name: run unit test with postgres
145+
########################
146+
# run unit-test postgres race
147+
########################
148+
unit-test-postgres:
149+
name: run unit-test postgres race
150+
runs-on: ubuntu-latest
151+
steps:
152+
- name: git checkout
153+
uses: actions/checkout@v4
154+
155+
- name: setup go ${{ env.GO_VERSION }}
156+
uses: actions/setup-go@v5
157+
with:
158+
go-version: '~${{ env.GO_VERSION }}'
159+
160+
- name: run unit-test postgres race
146161
run: make unit-postgres-race
147162

148163
########################

0 commit comments

Comments
 (0)