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' go-version: 'stable'
- name: setup go work - name: setup go work
env: env:
GOWORK: ${{ github.workspace }}/../go.work GOWORK: /workspace/${{ github.repository_owner }}/go.work
run: | run: |
cd ../ cd ../
go work init go work init
ls | grep -v go | xargs go work use ls | grep -v go | xargs go work use
cat ${{ github.workspace }}/../go.work cat /workspace/${{ github.repository_owner }}/go.work
go env go env
- name: setup deps - name: setup deps
env: env:
GOWORK: ${{ github.workspace }}/../go.work GOWORK: /workspace/${{ github.repository_owner }}/go.work
run: go get -v ./... run: go get -v ./...
- name: run tests - name: run tests
env: env:
INTEGRATION_TESTS: yes INTEGRATION_TESTS: yes
GOWORK: ${{ github.workspace }}/../go.work GOWORK: /workspace/${{ github.repository_owner }}/go.work
run: | run: |
cd micro-tests cd micro-tests
go test -mod readonly -v ./... go test -mod readonly -v ./...