fix pipeline #365

Merged
vtolstov merged 14 commits from :atolstikhin-v3 into v3 2024-12-06 19:05:28 +03:00
2 changed files with 11 additions and 14 deletions
Showing only changes of commit 7ac942e4b1 - Show all commits

View File

@ -5,8 +5,8 @@ on:
- master
- v3
jobs:
setup:
name: setup
lint:
name: lint
runs-on: ubuntu-latest
steps:
- name: setup-go
@ -17,11 +17,6 @@ jobs:
uses: actions/checkout@v3
- name: deps
run: go get -v -d ./...
lint:
name: lint
runs-on: ubuntu-latest
needs: setup
steps:
- name: lint
uses: https://github.com/golangci/golangci-lint-action@v6
with:
@ -29,14 +24,16 @@ jobs:
test:
name: test
runs-on: ubuntu-latest
# needs: setup
steps:
- name: setup-go
uses: actions/setup-go@v5
with:
go-version: 'stable'
- name: checkout
uses: actions/checkout@v3
- name: deps
run: go get -v -d ./...
- name: test
env:
INTEGRATION_TESTS: yes
run: go test -mod readonly -v ./...
with:
checkout: actions/checkout@v3
deps: go get -v -d ./...
setup-go: actions/setup-go@v5
go-version: 'stable'

View File

@ -28,7 +28,7 @@ func TestClient(t *testing.T) {
}
x1 := svc.Client("test2")
if x1.Name() == "test2" {
if x1.Name() != "test2" {
t.Fatalf("invalid client %#+v", svc.Options().Clients)
}
}