From 5b529c5715a56d85f97b727a4229e7d85d5de449 Mon Sep 17 00:00:00 2001 From: jaimemcc <99298642+jaimemcc-intel@users.noreply.github.com> Date: Thu, 19 Oct 2023 14:23:12 -0700 Subject: [PATCH] Update coverity_scan.yml update build command to avert empty cwd in build metrics --- .github/workflows/coverity_scan.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/coverity_scan.yml b/.github/workflows/coverity_scan.yml index 12750a3eb..fcd2ef26a 100644 --- a/.github/workflows/coverity_scan.yml +++ b/.github/workflows/coverity_scan.yml @@ -41,7 +41,9 @@ jobs: - name: Coverity Scan and Upload run: | set -x - $GITHUB_WORKSPACE/coverity/bin/cov-build --dir $GITHUB_WORKSPACE/cov-int --no-command --fs-capture-search $GITHUB_WORKSPACE/gpt-neox + pushd $GITHUB_WORKSPACE + cd $GITHUB_WORKSPACE/gpt-neox + $GITHUB_WORKSPACE/coverity/bin/cov-build --dir $GITHUB_WORKSPACE/cov-int --no-command --fs-capture-search ./ tar caf build-results.bz2 cov-int curl --form token=$COVERITY_TOKEN \ --form email=$COV_USER \