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 StoneWork CI tests on Ubuntu 20.04 #111

Merged
merged 2 commits into from
Aug 15, 2023
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
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
check:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
Expand All @@ -22,7 +22,7 @@ jobs:
git diff --name-only --exit-code go.mod || ( git diff && echo "Run go tidy to update go.mod" && false )

build:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
Expand All @@ -34,14 +34,14 @@ jobs:
go build -v ./...

test:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: "Enable VRF kernel module"
run: |
sudo apt-get update && \
sudo apt-get install -y linux-modules-extra-$(uname -r) && \
sudo modprobe -v vrf || echo >&2 "FAILURE"
sudo modprobe -v vrf || ( echo >&2 "FAILURE"; false )
- name: "Build images"
run: make images
- name: "Run Tests"
Expand Down