Remove github actions e2e tests

These tests don't make sense anymore

Signed-off-by: Manuel Buil <mbuil@suse.com>
This commit is contained in:
Manuel Buil
2021-08-23 17:00:27 +02:00
parent b1de2d212e
commit 51a8e29065

View File

@@ -27,51 +27,43 @@ jobs:
rm bin/* rm bin/*
done done
test-linux: # test-linux:
name: Run tests on Linux amd64 # name: Run tests on Linux amd64
runs-on: ubuntu-latest # runs-on: ubuntu-latest
steps: # steps:
- name: Install kernel module # - name: setup go
run: | # uses: actions/setup-go@v1
sudo apt-get update # with:
sudo apt-get install linux-modules-extra-$(uname -r) # go-version: ${{ env.GO_VERSION }}
- name: setup go # - uses: actions/checkout@v2
uses: actions/setup-go@v2 #
with: # - name: Install test binaries
go-version: ${{ env.GO_VERSION }} # env:
- name: Set up Go for root # GO111MODULE: off
run: | # run: |
sudo ln -sf `which go` `sudo which go` || true # go get github.com/containernetworking/cni/cnitool
sudo go version # go get github.com/mattn/goveralls
- uses: actions/checkout@v2 # 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 # test-win:
env: # name: Build and run tests on Windows
GO111MODULE: off # runs-on: windows-latest
run: | # steps:
go get github.com/containernetworking/cni/cnitool # - name: setup go
go get github.com/mattn/goveralls # uses: actions/setup-go@v1
go get github.com/modocache/gover # with:
# go-version: ${{ env.GO_VERSION }}
- name: test # - uses: actions/checkout@v2
run: PATH=$PATH:$(go env GOPATH)/bin COVERALLS=1 ./test_linux.sh # - name: test
# run: bash ./test_windows.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