From 356abfd81807cfde2d0a53a4f7667206f4dd2ba1 Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Tue, 10 Dec 2024 20:08:10 +0300 Subject: [PATCH] add micro-tests trigger Signed-off-by: Vasiliy Tolstov --- .gitea/workflows/job_tests.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/job_tests.yml b/.gitea/workflows/job_tests.yml index d52310e1..90798be6 100644 --- a/.gitea/workflows/job_tests.yml +++ b/.gitea/workflows/job_tests.yml @@ -35,21 +35,21 @@ jobs: go-version: 'stable' - name: setup go work env: - GOWORK: ${{ github.workspace }}/../go.work + GOWORK: /workspace/${{ github.repository_owner }}/go.work run: | cd ../ go work init ls | grep -v go | xargs go work use - cat ${{ github.workspace }}/../go.work + cat /workspace/${{ github.repository_owner }}/go.work go env - name: setup deps env: - GOWORK: ${{ github.workspace }}/../go.work + GOWORK: /workspace/${{ github.repository_owner }}/go.work run: go get -v ./... - name: run tests env: INTEGRATION_TESTS: yes - GOWORK: ${{ github.workspace }}/../go.work + GOWORK: /workspace/${{ github.repository_owner }}/go.work run: | cd micro-tests go test -mod readonly -v ./...