From 20b9bae9b3af0ded7f015a159b06d69d8e8a9aba Mon Sep 17 00:00:00 2001 From: Manuel Buil Date: Mon, 23 Aug 2021 17:00:27 +0200 Subject: [PATCH] Remove github actions e2e tests These tests don't make sense anymore Signed-off-by: Manuel Buil --- .github/workflows/test.yaml | 51 +------------------------------------ 1 file changed, 1 insertion(+), 50 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 60dc838f..83bd8a01 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -22,7 +22,7 @@ jobs: format: auto - uses: golangci/golangci-lint-action@v3 with: - args: -v + args: -v --timeout=5m skip-cache: true build: name: Build all linux architectures @@ -42,52 +42,3 @@ jobs: GOARCH=$arch ./build_linux.sh rm bin/* done - test-linux: - name: Run tests on Linux amd64 - needs: build - runs-on: ubuntu-latest - steps: - - name: Install kernel module - run: | - sudo apt-get update - sudo apt-get install linux-modules-extra-$(uname -r) - - name: Install nftables - run: sudo apt-get install nftables - - uses: actions/checkout@v4 - - name: setup go - uses: actions/setup-go@v4 - with: - go-version-file: go.mod - - name: Set up Go for root - run: | - sudo ln -sf `which go` `sudo which go` || true - sudo go version - - - name: Install test binaries - run: | - go install github.com/containernetworking/cni/cnitool@latest - go install github.com/mattn/goveralls@latest - go install github.com/modocache/gover@latest - - - name: test - run: PATH=$PATH:$(go env GOPATH)/bin COVERALLS=1 ./test_linux.sh - - - name: Send coverage to coveralls - env: - COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - PATH=$PATH:$(go env GOPATH)/bin - gover - goveralls -coverprofile=gover.coverprofile -service=github - test-win: - name: Build and run tests on Windows - needs: build - runs-on: windows-latest - steps: - - uses: actions/checkout@v4 - - name: setup go - uses: actions/setup-go@v4 - with: - go-version-file: go.mod - - name: test - run: bash ./test_windows.sh