mirror of
https://github.com/crowdsecurity/crowdsec.git
synced 2025-05-11 12:25:53 +02:00
add arg to hub func test (#1103)
* add arg to hub func test * switch to go 1.17 Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
This commit is contained in:
parent
88d06260d7
commit
51824d3bb8
5 changed files with 13 additions and 13 deletions
4
.github/workflows/ci_functests-install.yml
vendored
4
.github/workflows/ci_functests-install.yml
vendored
|
@ -21,10 +21,10 @@ jobs:
|
|||
name: Install generated release and perform functional tests
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Set up Go 1.16
|
||||
- name: Set up Go 1.17
|
||||
uses: actions/setup-go@v1
|
||||
with:
|
||||
go-version: 1.16
|
||||
go-version: 1.17
|
||||
id: go
|
||||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@v2
|
||||
|
|
6
.github/workflows/ci_go-test.yml
vendored
6
.github/workflows/ci_go-test.yml
vendored
|
@ -52,10 +52,10 @@ jobs:
|
|||
--health-timeout=5s
|
||||
--health-retries=3
|
||||
steps:
|
||||
- name: Set up Go 1.16
|
||||
- name: Set up Go 1.17
|
||||
uses: actions/setup-go@v1
|
||||
with:
|
||||
go-version: 1.16
|
||||
go-version: 1.17
|
||||
id: go
|
||||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@v2
|
||||
|
@ -73,4 +73,4 @@ jobs:
|
|||
continue-on-error: true
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
path-to-lcov: coverage.txt
|
||||
path-to-lcov: coverage.txt
|
||||
|
|
6
.github/workflows/ci_hubtest.yml
vendored
6
.github/workflows/ci_hubtest.yml
vendored
|
@ -13,10 +13,10 @@ jobs:
|
|||
name: Hub tests
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Set up Go 1.16
|
||||
- name: Set up Go 1.17
|
||||
uses: actions/setup-go@v1
|
||||
with:
|
||||
go-version: 1.16
|
||||
go-version: 1.17
|
||||
id: go
|
||||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@v2
|
||||
|
@ -68,4 +68,4 @@ jobs:
|
|||
filename: crowdsec_scenarios_badge.json
|
||||
label: Hub Scenarios
|
||||
message: ${{ env.SCENARIOS_COV }}
|
||||
color: ${{ env.SCENARIO_BADGE_COLOR }}
|
||||
color: ${{ env.SCENARIO_BADGE_COLOR }}
|
||||
|
|
|
@ -10,10 +10,10 @@ jobs:
|
|||
name: Build and upload binary package
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Set up Go 1.16
|
||||
- name: Set up Go 1.17
|
||||
uses: actions/setup-go@v1
|
||||
with:
|
||||
go-version: 1.16
|
||||
go-version: 1.17
|
||||
id: go
|
||||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@v2
|
||||
|
@ -29,10 +29,10 @@ jobs:
|
|||
name: Build and upload binary package
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Set up Go 1.16
|
||||
- name: Set up Go 1.17
|
||||
uses: actions/setup-go@v1
|
||||
with:
|
||||
go-version: 1.16
|
||||
go-version: 1.17
|
||||
id: go
|
||||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@v2
|
||||
|
|
|
@ -7,6 +7,6 @@ CURRENT_DIR=$(pwd)
|
|||
|
||||
git clone https://github.com/crowdsecurity/hub.git
|
||||
cd hub/
|
||||
${CSCLI} hubtest run --all
|
||||
${CSCLI} hubtest run --all --clean
|
||||
|
||||
cd "${CURRENT_DIR}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue