Skip to content

Commit

Permalink
Setup GHA for testing
Browse files Browse the repository at this point in the history
Signed-off-by: Yutaro Hayakawa <[email protected]>
  • Loading branch information
YutaroHayakawa committed Jan 8, 2025
1 parent 997ec03 commit 6c1a88b
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Tests

on:
push:
branches:
- main
pull_request:

jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Install kernel module
run: |
sudo apt install -y linux-modules-extra-$(uname -r)
sudo modprobe vrf
sudo lsmod
- name: Checkout
uses: actions/checkout@v4

- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: ./go.mod

- name: Run tests
run: ./test.sh

0 comments on commit 6c1a88b

Please sign in to comment.