From 51a8e29065c6de61f100a27bf180c242d526c5bf 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 | 86 +++++++++++++++++-------------------- 1 file changed, 39 insertions(+), 47 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 63c014e7..676fff85 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -27,51 +27,43 @@ jobs: rm bin/* done - test-linux: - name: Run tests on Linux amd64 - runs-on: ubuntu-latest - steps: - - name: Install kernel module - run: | - sudo apt-get update - sudo apt-get install linux-modules-extra-$(uname -r) - - name: setup go - uses: actions/setup-go@v2 - with: - go-version: ${{ env.GO_VERSION }} - - name: Set up Go for root - run: | - sudo ln -sf `which go` `sudo which go` || true - sudo go version - - uses: actions/checkout@v2 +# test-linux: +# name: Run tests on Linux amd64 +# runs-on: ubuntu-latest +# steps: +# - name: setup go +# uses: actions/setup-go@v1 +# with: +# go-version: ${{ env.GO_VERSION }} +# - uses: actions/checkout@v2 +# +# - name: Install test binaries +# env: +# GO111MODULE: off +# run: | +# go get github.com/containernetworking/cni/cnitool +# go get github.com/mattn/goveralls +# go get github.com/modocache/gover +# +# - 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 - - name: Install test binaries - env: - GO111MODULE: off - run: | - go get github.com/containernetworking/cni/cnitool - go get github.com/mattn/goveralls - go get github.com/modocache/gover - - - 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 - runs-on: windows-latest - steps: - - name: setup go - uses: actions/setup-go@v2 - with: - go-version: ${{ env.GO_VERSION }} - - uses: actions/checkout@v2 - - name: test - run: bash ./test_windows.sh +# test-win: +# name: Build and run tests on Windows +# runs-on: windows-latest +# steps: +# - name: setup go +# uses: actions/setup-go@v1 +# with: +# go-version: ${{ env.GO_VERSION }} +# - uses: actions/checkout@v2 +# - name: test +# run: bash ./test_windows.sh