forked from milvus-io/milvus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enhance: clean .github/workflow/main.yaml
Signed-off-by: Sammy Huang <[email protected]>
- Loading branch information
1 parent
afd87e0
commit e67165d
Showing
1 changed file
with
10 additions
and
20 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 |
---|---|---|
|
@@ -41,19 +41,16 @@ concurrency: | |
|
||
jobs: | ||
Build: | ||
name: Build and test AMD64 Ubuntu ${{ matrix.ubuntu }} | ||
runs-on: ubuntu-${{ matrix.ubuntu }} | ||
name: Build and test AMD64 Ubuntu 20.04 | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 180 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ubuntu: [20.04] | ||
env: | ||
UBUNTU: ${{ matrix.ubuntu }} | ||
UBUNTU: 20.04 | ||
steps: | ||
- name: Setup mold | ||
uses: rui314/setup-mold@v1 | ||
|
||
- name: Maximize build space | ||
uses: easimon/maximize-build-space@master | ||
if: ${{ ! startsWith(runner.name, 'self') }} # skip this step if it is self-hosted runner | ||
|
@@ -103,14 +100,12 @@ jobs: | |
UT-Cpp: | ||
name: UT for Cpp | ||
needs: Build | ||
runs-on: ubuntu-${{ matrix.ubuntu }} | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 60 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ubuntu: [20.04] | ||
env: | ||
UBUNTU: ${{ matrix.ubuntu }} | ||
UBUNTU: 20.04 | ||
steps: | ||
- name: Download code | ||
uses: actions/[email protected] | ||
|
@@ -146,14 +141,12 @@ jobs: | |
UT-Go: | ||
name: UT for Go | ||
needs: Build | ||
runs-on: ubuntu-${{ matrix.ubuntu }} | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 60 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ubuntu: [20.04] | ||
env: | ||
UBUNTU: ${{ matrix.ubuntu }} | ||
UBUNTU: 20.04 | ||
steps: | ||
- name: Download code | ||
uses: actions/[email protected] | ||
|
@@ -189,14 +182,12 @@ jobs: | |
integration-test: | ||
name: Integration Test | ||
needs: Build | ||
runs-on: ubuntu-${{ matrix.ubuntu }} | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 60 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ubuntu: [20.04] | ||
env: | ||
UBUNTU: ${{ matrix.ubuntu }} | ||
UBUNTU: 20.04 | ||
steps: | ||
- name: Download code | ||
uses: actions/[email protected] | ||
|
@@ -248,7 +239,6 @@ jobs: | |
- name: Display structure of code coverage results | ||
run: | | ||
ls -lah | ||
- name: Upload coverage to Codecov | ||
if: "github.repository == 'milvus-io/milvus'" | ||
uses: codecov/[email protected] | ||
|
@@ -265,5 +255,5 @@ jobs: | |
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
files: ./go_coverage.txt,./lcov_output.info,./it_coverage.txt | ||
name: ubuntu-${{ matrix.ubuntu }}-unittests | ||
name: ubuntu-20.04-unittests | ||
fail_ci_if_error: true |