Skip to content

Commit

Permalink
Revert "run tests for amd64 and arm64"
Browse files Browse the repository at this point in the history
This reverts commit c6f6bf0.
  • Loading branch information
boratanrikulu committed Jul 27, 2024
1 parent c6f6bf0 commit 5da1a9c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,8 @@ on:

jobs:
build:
name: Test
name: test
runs-on: ubuntu-latest
strategy:
matrix:
arch: [amd64, arm64]
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
Expand All @@ -22,12 +19,8 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Install dependencies
run: |
sudo apt update
sudo apt install -y --no-install-recommends clang llvm libbpf0 libbpf-dev musl musl-dev gcc-multilib
# Ensure dependencies are installed for both architectures
if: matrix.arch == 'amd64' || matrix.arch == 'arm64'
- name: Install depends
run: sudo apt install -y --no-install-recommends clang llvm libbpf0 libbpf-dev musl musl-dev gcc-multilib

- name: Generate
run: make generate
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ build-docker:

# To run all tests, just run `make test`.
# If you need to run specific tests, you can use `TNAMES`,
# example: `TNAMES="TestDrop|TestUndrop" make test`.
# Example: `TNAMES="TestDrop|TestUndrop" make test`
test: generate
CGO_ENABLED=0 go test -exec sudo ./... -run "^$(TNAMES)$\" -v -cover -coverprofile=coverage.txt -covermode=atomic -p=1

Expand Down

0 comments on commit 5da1a9c

Please sign in to comment.