generated from cloudwego/.github
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: migrate tests and update github action
- Loading branch information
1 parent
016c9d2
commit 494ae31
Showing
129 changed files
with
21 additions
and
42,832 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ jobs: | |
unit-benchmark-test: | ||
strategy: | ||
matrix: | ||
go: [ 1.17, 1.18, 1.19 ] | ||
go: [ '1.17', '1.18', '1.19', '1.20', '1.21' ] | ||
os: [ X64, ARM64 ] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
|
@@ -25,8 +25,28 @@ jobs: | |
# restore-keys: | | ||
# ${{ runner.os }}-go- | ||
|
||
- name: Set up Java | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'zulu' | ||
java-version: 8 | ||
|
||
- name: Set up Maven | ||
uses: stCarolas/[email protected] | ||
with: | ||
maven-version: 3.9.4 | ||
|
||
- name: Unit Test | ||
run: go test -race -covermode=atomic -coverprofile=coverage.out ./... | ||
|
||
- name: Integrated Test | ||
run: | | ||
cd .. | ||
rm -rf codec-dubbo-tests | ||
git clone https://github.com/kitex-contrib/codec-dubbo-tests.git | ||
cd codec-dubbo-tests | ||
./run.sh ${{ github.workspace }} | ||
cd ${{ github.workspace }} | ||
- name: Benchmark | ||
run: go test -bench=. -benchmem -run=none ./... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.