From dbca3d832f0ae50b1456070d8b50e260c33a3066 Mon Sep 17 00:00:00 2001 From: Jannik Badenhop Date: Mon, 26 Feb 2024 13:04:26 +0100 Subject: [PATCH] Dbp 618 ausfuehren der playwright tests fuer beliebige branches (#13) * Use explicit expression rather than implicit one of the if condition * change to if variable, instead of not empty operator --- .github/workflows/playwright.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 3dc441e..8841c6c 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -15,16 +15,15 @@ on: push: branches: [ main ] -jobs: +jobs: run_playwright_end2end_tests: + continue-on-error: true timeout-minutes: 60 runs-on: ubuntu-latest steps: - - name: If input frontendHostname is given, set env variable - if: github.event.inputs.frontendHostname != '' - run: echo "FRONTEND_URL=https://${frontendHostname}/" >> $GITHUB_ENV - + if: ${{ inputs.frontendHostname }} + run: echo "FRONTEND_URL=https://${{ inputs.frontendHostname }}/" >> $GITHUB_ENV - uses: actions/checkout@v3 with: repository: 'dBildungsplattform/schulportal-testautomatisierung' @@ -46,4 +45,4 @@ jobs: name: playwright-report path: playwright-report/ retention-days: 30npm login - +