mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
ci: split out postgres unit-test run for parallelism
This commit is contained in:
parent
d00bfab643
commit
d56fb5b542
1 changed files with 19 additions and 4 deletions
23
.github/workflows/main.yml
vendored
23
.github/workflows/main.yml
vendored
|
|
@ -125,10 +125,10 @@ jobs:
|
|||
run: make docs-check
|
||||
|
||||
########################
|
||||
# run unit tests
|
||||
# run unit-test sqlite3 race
|
||||
########################
|
||||
unit-test:
|
||||
name: run unit tests
|
||||
name: run unit-test sqlite3 race
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: git checkout
|
||||
|
|
@ -139,10 +139,25 @@ jobs:
|
|||
with:
|
||||
go-version: '~${{ env.GO_VERSION }}'
|
||||
|
||||
- name: run unit tests
|
||||
- name: run unit-test sqlite3 race
|
||||
run: make unit-race
|
||||
|
||||
- name: run unit test with postgres
|
||||
########################
|
||||
# run unit-test postgres race
|
||||
########################
|
||||
unit-test-postgres:
|
||||
name: run unit-test postgres race
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: git checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: setup go ${{ env.GO_VERSION }}
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '~${{ env.GO_VERSION }}'
|
||||
|
||||
- name: run unit-test postgres race
|
||||
run: make unit-postgres-race
|
||||
|
||||
########################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue