set token for unit tests
This commit is contained in:
parent
413d6afd38
commit
41de4a6aec
@ -21,6 +21,11 @@ jobs:
|
|||||||
# TODO - nonsensical failure on gitea
|
# TODO - nonsensical failure on gitea
|
||||||
# - name: "Run DB container"
|
# - name: "Run DB container"
|
||||||
# run: docker compose -f test/compose.yml up --wait
|
# run: docker compose -f test/compose.yml up --wait
|
||||||
|
- name: "Set up gitea access token"
|
||||||
|
env:
|
||||||
|
TOKEN: ${{ secrets.CICD_REPO_TOKEN }}
|
||||||
|
run: |
|
||||||
|
git config --global url."https://$TOKEN:@git.vdb.to/".insteadOf "https://git.vdb.to/"
|
||||||
- name: "Run tests"
|
- name: "Run tests"
|
||||||
run: go test -v ./...
|
run: go test -v ./...
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user