Skip to content

Commit

Permalink
update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
parvit committed Sep 17, 2024
1 parent 2896b24 commit 64c6d72
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
CGO_ENABLED: 1
GOPATH: ${{ github.workspace }}/.go
CMAKE_BUILD_PARALLEL_LEVEL: 4
IGNORE_PACKAGES: 'tray|docker|docs|version|webgui'
IGNORE_PACKAGES: 'tray|docker|docs|version|webgui|workers$'
defaults:
run:
shell: bash
Expand Down Expand Up @@ -188,6 +188,9 @@ jobs:
for i in $(go list ./... | grep -E -v "${IGNORE_PACKAGES}" | sed -n -e 's|github.com\/Project-Faster\/qpep\/||p')
do
pushd $i
if [ ! -f unit_tests.out ]; then
exit 1
fi
grep -E "FAIL:" unit_tests.out
if [ $? -eq 0 ]; then
exit 1
Expand All @@ -205,7 +208,7 @@ jobs:
GOOS: linux
CGO_ENABLED: 1
CMAKE_BUILD_PARALLEL_LEVEL: 4
IGNORE_PACKAGES: 'tray|docker|docs|version|webgui'
IGNORE_PACKAGES: 'tray|docker|docs|version|webgui|workers$'
defaults:
run:
shell: bash
Expand Down Expand Up @@ -312,7 +315,9 @@ jobs:
for i in $(go list ./... | grep -E -v "${IGNORE_PACKAGES}" | sed -n -e 's|github.com\/Project-Faster\/qpep\/||p')
do
pushd $i
ls | grep out
if [ ! -f unit_tests.out ]; then
exit 1
fi
cat unit_tests.out
grep -E "FAIL:" unit_tests.out
if [ $? -eq 0 ]; then
Expand All @@ -332,7 +337,7 @@ jobs:
CGO_ENABLED: 1
QPEP_CI_ENV: 1
CMAKE_BUILD_PARALLEL_LEVEL: 4
IGNORE_PACKAGES: 'tray|docker|docs|version|webgui'
IGNORE_PACKAGES: 'tray|docker|docs|version|webgui|workers$'
MINGW_BASEDIR: 'C:\ProgramData\chocolatey\lib\mingw\tools\install\mingw64\bin'
defaults:
run:
Expand Down Expand Up @@ -482,6 +487,9 @@ jobs:
set +e
for i in $(go list ./... | grep -E -v "${IGNORE_PACKAGES}" | sed -n -e 's|github.com\/Project-Faster\/qpep\/||p')
do
if [ ! -f unit_tests.out ]; then
exit 1
fi
pushd $i
grep -E "FAIL:" unit_tests.out
if [ $? -eq 0 ]; then
Expand Down

0 comments on commit 64c6d72

Please sign in to comment.