experiment with compose
This commit is contained in:
parent
3c85637436
commit
cc1c9fa860
@ -18,16 +18,18 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
go-version-file: 'go.mod'
|
go-version-file: 'go.mod'
|
||||||
check-latest: true
|
check-latest: true
|
||||||
- name: "Run DB container"
|
|
||||||
run: docker compose -f test/compose.yml up --wait-timeout 30 -d
|
|
||||||
- name: "Set up Gitea access token"
|
- name: "Set up Gitea access token"
|
||||||
env:
|
env:
|
||||||
TOKEN: ${{ secrets.CICD_REPO_TOKEN }}
|
TOKEN: ${{ secrets.CICD_REPO_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
[[ -n "$TOKEN" ]]
|
[[ -n "$TOKEN" ]]
|
||||||
git config --global url."https://$TOKEN:@git.vdb.to/".insteadOf "https://git.vdb.to/"
|
git config --global url."https://$TOKEN:@git.vdb.to/".insteadOf "https://git.vdb.to/"
|
||||||
- name: "Run tests"
|
- name: "Run DB container"
|
||||||
run: go test -v ./...
|
run: |
|
||||||
|
docker compose -f test/compose.yml up --wait-timeout 30 -d
|
||||||
|
go test -v ./...
|
||||||
|
# - name: "Run tests"
|
||||||
|
# run: go test -v ./...
|
||||||
|
|
||||||
integration-tests:
|
integration-tests:
|
||||||
name: "Run integration tests"
|
name: "Run integration tests"
|
||||||
|
Loading…
Reference in New Issue
Block a user