From 698ee422ff9edf8a4f7539eb783df583c5d41e1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Thu, 13 Jul 2023 17:42:20 +0200 Subject: [PATCH] ci: Make paths of query count compatible with garm MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- .github/workflows/integration.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index ebb0eccaa..556ea705a 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -98,7 +98,7 @@ jobs: cat config/config.php ./occ user:list ./occ app:enable --force ${{ env.APP_NAME }} - ./occ config:system:set query_log_file --value '$PWD/${{ env.APP_NAME }}/${{ env.APP_NAME }}/query.log' + ./occ config:system:set query_log_file --value "$PWD/query.log" php -S localhost:8080 & - name: Run behat @@ -123,12 +123,12 @@ jobs: myError += data.toString() } } - await exec.exec(`/bin/bash -c "cat ${{ env.APP_NAME }}/${{ env.APP_NAME }}/query.log | wc -l"`, [], options) + await exec.exec(`/bin/bash -c "cat query.log | wc -l"`, [], options) msg = myOutput const queryCount = parseInt(myOutput, 10) myOutput = '' - await exec.exec('cat', ['${{ env.APP_NAME }}/${{ env.APP_NAME }}/apps/${{ env.APP_NAME }}/tests/integration/base-query-count.txt'], options) + await exec.exec('cat', ['apps/${{ env.APP_NAME }}/tests/integration/base-query-count.txt'], options) const baseCount = parseInt(myOutput, 10) const absoluteIncrease = queryCount - baseCount @@ -151,4 +151,4 @@ jobs: repo: context.repo.repo, body: comment }) - } \ No newline at end of file + }