Skip to content

Commit

Permalink
Dbp 618 ausfuehren der playwright tests fuer beliebige branches (#13)
Browse files Browse the repository at this point in the history
* Use explicit expression rather than implicit one of the if condition
* change to if variable, instead of not empty operator
  • Loading branch information
JannikBadenhop authored Feb 26, 2024
1 parent af26019 commit dbca3d8
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -46,4 +45,4 @@ jobs:
name: playwright-report
path: playwright-report/
retention-days: 30npm login

0 comments on commit dbca3d8

Please sign in to comment.