micro-tests #372

Merged
vtolstov merged 24 commits from micro-tests into v3 2024-12-10 23:45:54 +03:00
Showing only changes of commit 0060c4377a - Show all commits

View File

@ -17,10 +17,14 @@ jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: go work
run: go work init
- name: checkout - name: checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
filter: 'blob:none' filter: 'blob:none'
- name: go work use
run: go work use .
- name: checkout tests - name: checkout tests
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
@ -28,6 +32,8 @@ jobs:
filter: 'blob:none' filter: 'blob:none'
repository: unistack-org/micro-tests repository: unistack-org/micro-tests
path: micro-tests path: micro-tests
- name: go work use
run: go work use micro-tests
- name: setup-go - name: setup-go
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
@ -35,14 +41,9 @@ jobs:
go-version: 'stable' go-version: 'stable'
- name: deps - name: deps
run: go get -v ./... run: go get -v ./...
- name: workflow
run: |
cd ../
ls | grep -v go | xargs go work init
- name: test - name: test
env: env:
INTEGRATION_TESTS: yes INTEGRATION_TESTS: yes
run: | run: |
cd micro-tests cd micro-tests
cat ../go.work >&2
go test -mod readonly -v ./... go test -mod readonly -v ./...