Only run short tests on CI

This commit is contained in:
Patrick Pacher 2021-01-19 13:57:10 +01:00
parent 947f8965b5
commit d3e3f1cc3f
2 changed files with 2 additions and 7 deletions

View file

@ -18,9 +18,6 @@ jobs:
- name: Check out code into the Go module directory - name: Check out code into the Go module directory
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Remove go.mod replacements
run: sed '/$replace /d' go.mod
- uses: actions/setup-go@v2 - uses: actions/setup-go@v2
with: with:
go-version: '^1.15' go-version: '^1.15'
@ -71,9 +68,6 @@ jobs:
with: with:
go-version: '^1.15' go-version: '^1.15'
- name: Remove go.mod replacements
run: sed '/$replace /d' go.mod
# nektos/act does not have sudo install but we need it on GH actions so # nektos/act does not have sudo install but we need it on GH actions so
# try to install it. # try to install it.
- name: Install sudo - name: Install sudo
@ -90,4 +84,4 @@ jobs:
run: go mod download run: go mod download
- name: Test - name: Test
run: ./test full --test-only run: ./test --test-only

View file

@ -9,6 +9,7 @@ linters:
- wsl - wsl
- gomnd - gomnd
- goerr113 - goerr113
- testpackage
linters-settings: linters-settings:
godox: godox: