mirror of
https://github.com/safing/portbase
synced 2025-09-04 03:29:59 +00:00
Only run short tests on CI
This commit is contained in:
parent
947f8965b5
commit
d3e3f1cc3f
2 changed files with 2 additions and 7 deletions
8
.github/workflows/go.yml
vendored
8
.github/workflows/go.yml
vendored
|
@ -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
|
||||||
|
|
|
@ -9,6 +9,7 @@ linters:
|
||||||
- wsl
|
- wsl
|
||||||
- gomnd
|
- gomnd
|
||||||
- goerr113
|
- goerr113
|
||||||
|
- testpackage
|
||||||
|
|
||||||
linters-settings:
|
linters-settings:
|
||||||
godox:
|
godox:
|
||||||
|
|
Loading…
Add table
Reference in a new issue