From 0060c4377a57e3cdb317d122227657aa7571df6b Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Tue, 10 Dec 2024 17:27:28 +0300 Subject: [PATCH] add micro-tests trigger Signed-off-by: Vasiliy Tolstov --- .gitea/workflows/job_tests.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/job_tests.yml b/.gitea/workflows/job_tests.yml index f7a30f8a..b5965217 100644 --- a/.gitea/workflows/job_tests.yml +++ b/.gitea/workflows/job_tests.yml @@ -17,10 +17,14 @@ jobs: test: runs-on: ubuntu-latest steps: + - name: go work + run: go work init - name: checkout uses: actions/checkout@v4 with: filter: 'blob:none' + - name: go work use + run: go work use . - name: checkout tests uses: actions/checkout@v4 with: @@ -28,6 +32,8 @@ jobs: filter: 'blob:none' repository: unistack-org/micro-tests path: micro-tests + - name: go work use + run: go work use micro-tests - name: setup-go uses: actions/setup-go@v5 with: @@ -35,14 +41,9 @@ jobs: go-version: 'stable' - name: deps run: go get -v ./... - - name: workflow - run: | - cd ../ - ls | grep -v go | xargs go work init - name: test env: INTEGRATION_TESTS: yes run: | cd micro-tests - cat ../go.work >&2 go test -mod readonly -v ./...