Skip to content

Commit

Permalink
fix: add compatibility-test
Browse files Browse the repository at this point in the history
  • Loading branch information
Zzhiter committed May 17, 2024
1 parent c2b77e3 commit cdee225
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,18 @@ name: Tests
on: [ push, pull_request ]

jobs:
unit-benchmark-test:
compatibility-test:
strategy:
matrix:
go: [ "1.21" ]
os: [ X64 ]
go: [ 1.20, 1.21, 1.22 ]
os: [ X64, ARM64 ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}

- name: Unit Test
run: go test -race -covermode=atomic -coverprofile=coverage.out ./...
run: go test -gcflags=-l -race -covermode=atomic ./...

- name: Benchmark
run: go test -bench=. -benchmem -run=none ./...
2 changes: 0 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ module github.com/kitex-contrib/kitexcall

go 1.21

toolchain go1.21.9

replace github.com/apache/thrift => github.com/apache/thrift v0.13.0

require (
Expand Down

0 comments on commit cdee225

Please sign in to comment.