From 05eef8083fc825b2c2a9e867d2dd872603bf0e33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Teemu=20M=C3=A4kinen?= Date: Thu, 23 May 2024 18:17:58 +0300 Subject: [PATCH] Use env setup and test run action --- .../test-run-cypress-tests-action.yml | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/.github/workflows/test-run-cypress-tests-action.yml b/.github/workflows/test-run-cypress-tests-action.yml index f5e4a72..ef33731 100644 --- a/.github/workflows/test-run-cypress-tests-action.yml +++ b/.github/workflows/test-run-cypress-tests-action.yml @@ -11,20 +11,11 @@ jobs: runs-on: ubuntu-latest-4-cores steps: + # We need to checkout code in order to run a local action - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - - name: Start e2e env - uses: ./github-actions/setup-e2e-environment - - - name: Seed infrastructure links - uses: ./github-actions/seed-infrastructure-links - - - name: Seed municipalities and fare zones - uses: ./github-actions/seed-municipalities-and-fare-zones - - - name: Run e2e tests from github action - # We need to reference the remote version of this repository to be able to use specific branches or tags - uses: HSLdevcom/jore4-tools/github-actions/run-cypress-tests@run-cypress-tests-v1 + - name: Setup environment and run e2e tests from github action + uses: ./github-actions/run-ci with: - test-tags: '' + test-tags: ""