Skip to content

Commit

Permalink
ci(integration-tests): run dc pull
Browse files Browse the repository at this point in the history
* ci(integration-tests): run dc pull
  • Loading branch information
ingeridhellen committed Aug 4, 2023
1 parent fa87004 commit 32b1d46
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/integration-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -99,4 +104,4 @@ jobs:
with:
name: playwright-report
path: e2e/playwright-report/
retention-days: 30
retention-days: 30

0 comments on commit 32b1d46

Please sign in to comment.