mirror of
https://github.com/eosswedenorg/thalos
synced 2026-06-16 04:24:56 +02:00
.github/workflows/test.yml: can't run tests on different arch than host.
So just do i386 and amd64
This commit is contained in:
parent
621f9ceeea
commit
8155d49ef4
1 changed files with 4 additions and 5 deletions
9
.github/workflows/test.yml
vendored
9
.github/workflows/test.yml
vendored
|
|
@ -11,10 +11,9 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
go-version: ["1.20", "1.21"]
|
||||
os: [ linux, freebsd ]
|
||||
arch: [ 386, amd64, arm, arm64 ]
|
||||
arch: [ 386, amd64 ]
|
||||
runs-on: ubuntu-latest
|
||||
name: Test (${{matrix.os}} ${{matrix.arch}} go v${{ matrix.go-version }})
|
||||
name: Test (${{matrix.arch}} go v${{ matrix.go-version }})
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
|
@ -24,10 +23,10 @@ jobs:
|
|||
go-version: ${{ matrix.go-version }}
|
||||
|
||||
- name: Test
|
||||
run: GOOS=${{matrix.os}} GOARCH=${{matrix.arch}} go test -v ./...
|
||||
run: GOARCH=${{matrix.arch}} go test -v ./...
|
||||
|
||||
- name: Test API
|
||||
run: cd api; GOOS=${{matrix.os}} GOARCH=${{matrix.arch}} go test -v ./...
|
||||
run: cd api; GOARCH=${{matrix.arch}} go test -v ./...
|
||||
|
||||
test-alpine:
|
||||
strategy:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue