Skip to content

Commit

Permalink
Changes to test ppc64le runner
Browse files Browse the repository at this point in the history
  • Loading branch information
shahidhs-ibm authored Oct 19, 2023
1 parent bf2a7fe commit c3aed81
Showing 1 changed file with 2 additions and 26 deletions.
28 changes: 2 additions & 26 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ jobs:
strategy:
matrix:
go-versions: ['1.20', '1.19']
platform: [ubuntu-20.04]
platform: [ubuntu-20.04-ppc64le]
environment-variables: [build/config/plain.sh, build/config/libpfm4.sh, build/config/libipmctl.sh]
runs-on: ${{ matrix.platform }}
timeout-minutes: 30
steps:
- name: Install Go
uses: actions/setup-go@v2
uses: shahidhs-ibm/setup-go@ppc64le
with:
go-version: ${{ matrix.go-versions }}
- name: Checkout code
Expand All @@ -27,27 +27,3 @@ jobs:
run: |
source ${{ matrix.environment-variables }}
make test
test-integration:
strategy:
matrix:
go-versions: ['1.20', '1.19']
platform: [ubuntu-20.04]
environment-variables: [build/config/plain.sh, build/config/libpfm4.sh, build/config/libipmctl.sh]
runs-on: ${{ matrix.platform }}
timeout-minutes: 30
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Run integration tests
env:
GOLANG_VERSION: ${{ matrix.go-versions }}
run: |
set -ex
source ${{ matrix.environment-variables }}
make docker-test-integration
- name: Upload cAdvisor log file
uses: actions/upload-artifact@v1
if: failure()
with:
name: cadvisor.log
path: ${{ github.workspace }}/go/src/github.com/google/cadvisor/cadvisor.log

0 comments on commit c3aed81

Please sign in to comment.