Skip to content

Commit 5a44976

Browse files
author
Janne Rönkkö
committed
Move E2E tests into cd workflow
The run-cypress-tests workflow was anly called from cd workflow and the run-cypress-tests workflow only contained two steps of which one will be removed by the next commit, i.e. having the run-cypress-tests as a separate workflow does not really have a reason.
1 parent dd22baf commit 5a44976

2 files changed

Lines changed: 10 additions & 21 deletions

File tree

.github/workflows/cd.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,13 @@ jobs:
8787
needs:
8888
- run_kotlin_tests
8989
- publish_docker_image_to_docker_hub
90-
uses: ./.github/workflows/run-cypress-tests.yml
90+
name: Run E2E tests
91+
runs-on: ubuntu-24.04
92+
steps:
93+
- name: Extract metadata to env variables
94+
uses: HSLdevcom/jore4-tools/github-actions/extract-metadata@extract-metadata-v1
95+
96+
- name: Start e2e env
97+
uses: HSLdevcom/jore4-tools/github-actions/run-ci@main
98+
with:
99+
timetablesapi_version: "${{ env.IMAGE_NAME }}:${{ env.COMMIT_ID }}"

.github/workflows/run-cypress-tests.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)