From 32b1d46a0c1c8e3da4346d50f0f6a93adc0eef69 Mon Sep 17 00:00:00 2001 From: Ingerid Gjeitnes Hellen <64828956+ingeridhellen@users.noreply.github.com> Date: Fri, 4 Aug 2023 08:20:20 +0200 Subject: [PATCH] ci(integration-tests): run dc pull * ci(integration-tests): run dc pull --- .github/workflows/integration-tests.yaml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/integration-tests.yaml b/.github/workflows/integration-tests.yaml index bbb4dd87d..5ba6a45a0 100644 --- a/.github/workflows/integration-tests.yaml +++ b/.github/workflows/integration-tests.yaml @@ -5,16 +5,15 @@ on: workflow_call: outputs: dm_cli_version: - description: "DM CLI version used in test" + description: 'DM CLI version used in test' value: ${{ jobs.integration-tests.outputs.dm_cli_version }} dmss_version: - description: "DMSS version used in test" + description: 'DMSS version used in test' value: ${{ jobs.integration-tests.outputs.dmss_version }} job_version: - description: "Job version used in test" + description: 'Job version used in test' value: ${{ jobs.integration-tests.outputs.job_version }} - jobs: integration-tests: timeout-minutes: 60 @@ -46,6 +45,7 @@ jobs: - name: Start DMSS id: dmss run: | + docker-compose pull docker-compose run --rm dmss cat src/version.txt > dmss_version.txt dmss_version=$(tail -n 1 dmss_version.txt) docker-compose run --rm job-api cat version.txt > job_version.txt @@ -70,10 +70,15 @@ jobs: python -m venv .venv source .venv/bin/activate pip install dm-cli - ./reset-all.sh validate-entities echo "version=$(dm --version)" >> "$GITHUB_OUTPUT" working-directory: example/ + - name: Run reset-all script + run: | + source .venv/bin/activate + ./reset-all.sh validate-entities + working-directory: example/ + - name: Install dependencies run: | npm install --package-lock-only @@ -99,4 +104,4 @@ jobs: with: name: playwright-report path: e2e/playwright-report/ - retention-days: 30 \ No newline at end of file + retention-days: 30