add micro-tests trigger
Some checks failed
lint / lint (pull_request) Successful in 48s
test / test (pull_request) Failing after 41s

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2024-12-10 20:08:10 +03:00
parent 18444d3f98
commit 356abfd818

View File

@ -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 ./...