Skip to content

Commit

Permalink
yml Dateien angepasst (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobmadp authored May 23, 2024
1 parent 89f4458 commit 48baeaa
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/manuell_staging.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Manuell alle Tests(staging)
on:
workflow_dispatch:
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Remove Microsoft APT and Update Packages
run: |
sudo rm /etc/apt/sources.list.d/microsoft-prod.list
sudo apt-get update || true
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
run: FRONTEND_URL='https://spsh.staging.spsh.dbildungsplattform.de/' npx playwright test"
env:
USER: '${{ secrets.USER }}'
PW: '${{ secrets.PW }}'
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30npm login
1 change: 1 addition & 0 deletions .github/workflows/schedule_dev.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Scheduled Playwright Alle Tests(main)
on:
workflow_dispatch:
schedule:
- cron: '10 5 * * *'
jobs:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/schedule_staging.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Scheduled Playwright Smoketest(staging)
on:
workflow_dispatch:
schedule:
- cron: '10 5 * * *'
jobs:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/schedule_test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Scheduled Playwright Smoketest(test.dev)
on:
workflow_dispatch:
schedule:
- cron: '10 5 * * *'
jobs:
Expand Down

0 comments on commit 48baeaa

Please sign in to comment.