mirror of
https://github.com/BradNut/personal-website-sveltekit
synced 2025-09-08 23:20:18 +00:00
Update svelte_integration.yml fixing run
Some checks are pending
Run_Svelte_Unit_on_PRs / test (push) Waiting to run
Some checks are pending
Run_Svelte_Unit_on_PRs / test (push) Waiting to run
This commit is contained in:
parent
c7b8256d02
commit
e99816429c
1 changed files with 12 additions and 5 deletions
17
.github/workflows/svelte_integration.yml
vendored
17
.github/workflows/svelte_integration.yml
vendored
|
|
@ -2,10 +2,10 @@ name: Run_Svelte_Integration_on_PRs
|
|||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
- development
|
||||
branches: [ main, master ]
|
||||
pull_request:
|
||||
branches: [ main, master ]
|
||||
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
|
|
@ -30,6 +30,7 @@ env:
|
|||
jobs:
|
||||
e2e-tests:
|
||||
name: Run end-to-end tests
|
||||
timeout-minutes: 60
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
|
|
@ -48,4 +49,10 @@ jobs:
|
|||
- name: Install playwright browsers
|
||||
run: pnpx playwright install --with-deps
|
||||
- name: Run tests
|
||||
run: pnpm test:integration
|
||||
run: pnpx playwright test
|
||||
- uses: actions/upload-artifact@v4
|
||||
if: ${{ !cancelled() }}
|
||||
with:
|
||||
name: playwright-report
|
||||
path: playwright-report/
|
||||
retention-days: 30
|
||||
|
|
|
|||
Loading…
Reference in a new issue