Skip to content

Commit

Permalink
added coverage
Browse files Browse the repository at this point in the history
Signed-off-by: tcchawla <[email protected]>
  • Loading branch information
tcchawla committed Jan 19, 2024
1 parent fea068b commit f50f8d2
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .github/workflows/test_amd64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,17 @@ jobs:
uses: ./.github/workflows/test_template.yaml
with:
targets: "['linux-386-unit-1-cpu']"

coverage:
needs:
- test-linux-amd64
- test-linux-386
runs-on: ubuntu-latest-8-cores
steps:
- uses: actions/checkout@v4
- id: goversion
run: echo "goversion=$(cat .go-version)" >> "$GITHUB_OUTPUT"
- uses: actions/setup-go@v5
with:
go-version: ${{ steps.goversion.outputs.goversion }}
- run: make test
15 changes: 14 additions & 1 deletion .github/workflows/test_arm64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,21 @@ name: Test ARM64
permissions: read-all
on: [push, pull_request]
jobs:
run:
test-linux-arm64-cpu-race:
uses: ./.github/workflows/test_template.yaml
with:
runs-on: actuated-arm64-8cpu-8gb
targets: "['linux-arm64-unit-test-4-cpu-race']"

coverage:
needs:
- test-linux-arm64-cpu-race
runs-on: actuated-arm64-8cpu-8gb
steps:
- uses: actions/checkout@v4
- id: goversion
run: echo "goversion=$(cat .go-version)" >> "$GITHUB_OUTPUT"
- uses: actions/setup-go@v5
with:
go-version: ${{ steps.goversion.outputs.goversion }}
- run: make test

0 comments on commit f50f8d2

Please sign in to comment.