File tree Expand file tree Collapse file tree 2 files changed +37
-0
lines changed
Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change 5959 --cache-from type=registry,ref=$IMAGE_NAME:builder \
6060 --tag $IMAGE_NAME:latest \
6161 .
62+
63+ run_cypress_tests :
64+ needs :
65+ - push_to_registry
66+ uses : ./.github/workflows/run-cypress-tests.yml
Original file line number Diff line number Diff line change 1+ name : Run cypress tests
2+
3+ on :
4+ # this workflow is only called by others, won't be executed on itself
5+ # as it uses the pre-built docker image that is produced in the upstream job
6+ workflow_call :
7+
8+ jobs :
9+ run_cypress_tests :
10+ name : Run cypress e2e tests from docker
11+ runs-on : ubuntu-20.04
12+
13+ steps :
14+ - name : Collect Workflow Telemetry
15+ uses : runforesight/foresight-workflow-kit-action@v1
16+ if : ${{ always() }}
17+ with :
18+ api_key : ${{ secrets.FORESIGHT_GITHUB_ACTIONS }}
19+
20+ - name : Checkout code
21+ uses : actions/checkout@v3
22+
23+ - name : Extract metadata to env variables
24+ uses : HSLdevcom/jore4-tools/github-actions/extract-metadata@extract-metadata-v1
25+
26+ - name : Start e2e env
27+ uses : HSLdevcom/jore4-tools/github-actions/setup-e2e-environment@setup-e2e-environment-v1
28+ with :
29+ hastus_version : " ${{ env.IMAGE_NAME }}:${{ env.COMMIT_ID }}"
30+
31+ - name : Run e2e tests from github action
32+ uses : HSLdevcom/jore4-tools/github-actions/run-cypress-tests@run-cypress-tests-v1
You can’t perform that action at this time.
0 commit comments