Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run tests on arm in CI #699

Merged
merged 1 commit into from
Aug 30, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- 'release/**'

jobs:
test-linux:
test-linux-amd64:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
Expand All @@ -35,6 +35,18 @@ jobs:
file: ./out/tests/coverage-unit.txt
flags: unit,os_linux
fail_ci_if_error: true
test-linux-arm64:
runs-on: linux-arm64
steps:
- uses: actions/checkout@v2
- name: Set up go
uses: actions/setup-go@v2
with:
go-version: '1.16'
- name: Test
run: |
make format || true
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make format fails on the arm machine... the build directives might need to be updated. In the interest of time, I made this a part of #697.

make test
test-windows:
runs-on: windows-latest
steps:
Expand Down Expand Up @@ -84,7 +96,8 @@ jobs:
codecov.exe -f .\out\tests\coverage-unit.txt -v --flag os_windows
build-and-publish:
needs:
- test-linux
- test-linux-amd64
- test-linux-arm64
- test-windows
runs-on: ubuntu-18.04
steps:
Expand Down