-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: use free runner for all tests except
build tests
(#7215)
- Loading branch information
1 parent
051ac39
commit 0e286f0
Showing
2 changed files
with
9 additions
and
9 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
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 |
---|---|---|
|
@@ -16,7 +16,7 @@ jobs: | |
runs-on: ${{ matrix.operating-system }} | ||
strategy: | ||
matrix: | ||
operating-system: [ubuntu-latest-m, windows-latest, macos-latest] | ||
operating-system: [ubuntu-latest, windows-latest, macos-latest] | ||
steps: | ||
- uses: actions/[email protected] | ||
|
||
|
@@ -31,15 +31,15 @@ jobs: | |
echo "Run 'go mod tidy' and push it" | ||
exit 1 | ||
fi | ||
if: matrix.operating-system == 'ubuntu-latest-m' | ||
if: matrix.operating-system == 'ubuntu-latest' | ||
|
||
- name: Lint | ||
id: lint | ||
uses: golangci/[email protected] | ||
with: | ||
version: v1.59 | ||
args: --verbose --out-format=line-number | ||
if: matrix.operating-system == 'ubuntu-latest-m' | ||
if: matrix.operating-system == 'ubuntu-latest' | ||
|
||
- name: Check if linter failed | ||
run: | | ||
|
@@ -60,14 +60,14 @@ jobs: | |
echo "Run 'mage docs:generate' and push it" | ||
exit 1 | ||
fi | ||
if: matrix.operating-system == 'ubuntu-latest-m' | ||
if: matrix.operating-system == 'ubuntu-latest' | ||
|
||
- name: Run unit tests | ||
run: mage test:unit | ||
|
||
integration: | ||
name: Integration Test | ||
runs-on: ubuntu-latest-m | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out code into the Go module directory | ||
uses: actions/[email protected] | ||
|
@@ -87,7 +87,7 @@ jobs: | |
|
||
k8s-integration: | ||
name: K8s Integration Test | ||
runs-on: ubuntu-latest-m | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out code into the Go module directory | ||
uses: actions/[email protected] | ||
|
@@ -129,7 +129,7 @@ jobs: | |
vm-test: | ||
name: VM Integration Test | ||
runs-on: ubuntu-latest-m | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
|