Skip to content

Commit e540264

Browse files
committed
Use env setup and test run action
1 parent 23dbfa6 commit e540264

1 file changed

Lines changed: 5 additions & 14 deletions

File tree

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

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,11 @@ jobs:
1111
runs-on: ubuntu-latest-4-cores
1212

1313
steps:
14+
# Even though code checking is part of the "run-ci" action, it must be done separately here, because "run-ci" is located in this same repository.
1415
- name: Checkout code
15-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
1617

17-
- name: Start e2e env
18-
uses: ./github-actions/setup-e2e-environment
19-
20-
- name: Seed infrastructure links
21-
uses: ./github-actions/seed-infrastructure-links
22-
23-
- name: Seed municipalities and fare zones
24-
uses: ./github-actions/seed-municipalities-and-fare-zones
25-
26-
- name: Run e2e tests from github action
27-
# We need to reference the remote version of this repository to be able to use specific branches or tags
28-
uses: HSLdevcom/jore4-tools/github-actions/run-cypress-tests@run-cypress-tests-v1
18+
- name: Setup environment and run e2e tests from github action
19+
uses: ./github-actions/run-ci
2920
with:
30-
test-tags: ''
21+
test-tags: ""

0 commit comments

Comments
 (0)