From aa27e5ab935bbd9ce0cb1767931b8dffd5bb54fb Mon Sep 17 00:00:00 2001 From: erenJag Date: Tue, 23 Jun 2020 12:07:02 +0200 Subject: [PATCH] testing new hub ci --- .github/workflows/hub-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/hub-ci.yml b/.github/workflows/hub-ci.yml index ef43afbcb..5c61f6a81 100644 --- a/.github/workflows/hub-ci.yml +++ b/.github/workflows/hub-ci.yml @@ -22,7 +22,7 @@ jobs: run: BUILD_VERSION=xxx make release - name: clone and build hub CI tool run: | - git clone https://github.com/crowdsecurity/hub-tests.git + git clone -b hub_update https://github.com/crowdsecurity/hub-tests.git cd hub-tests make - name: Create crowdsec test env with all parsers from the release @@ -43,6 +43,6 @@ jobs: run: | for i in `find ./tests -mindepth 1 -maxdepth 1 -type d` ; do echo "::group::Test-${i}" ; - ./main $i || (echo "::error file=${i}::Failed test for ${i}" ; diff ${i}"/results.yaml" ${i}"/results.yaml.fail") ; + ./main -c dev.yaml $i || (echo "::error file=${i}::Failed test for ${i}" ; diff ${i}"/results.json" ${i}"/results.json.fail") ; echo "::endgroup::" ; done ;