Skip to content

Commit f259a7e

Browse files
committed
ci(github): copy config template before db init in unit-test workflow
1 parent 04b014e commit f259a7e

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/unit-tests.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616
- develop
1717
- feat/**
1818
- fix/**
19-
19+
2020
workflow_dispatch:
2121
inputs:
2222
debug:
@@ -74,7 +74,9 @@ jobs:
7474
cache-dependency-path: '**/go.sum'
7575

7676
- name: Initialize Database Schema
77-
run: make init confirm=init
77+
run: |
78+
cp apps/lina-core/manifest/config/config.template.yaml apps/lina-core/manifest/config/config.yaml
79+
make init confirm=init
7880
7981
- name: Run Unit Tests
8082
run: go test -v ./...

0 commit comments

Comments
 (0)