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:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches: [ main, master ]
|
||||||
- master
|
pull_request:
|
||||||
- main
|
branches: [ main, master ]
|
||||||
- development
|
|
||||||
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
|
@ -30,6 +30,7 @@ env:
|
||||||
jobs:
|
jobs:
|
||||||
e2e-tests:
|
e2e-tests:
|
||||||
name: Run end-to-end tests
|
name: Run end-to-end tests
|
||||||
|
timeout-minutes: 60
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
|
|
@ -48,4 +49,10 @@ jobs:
|
||||||
- name: Install playwright browsers
|
- name: Install playwright browsers
|
||||||
run: pnpx playwright install --with-deps
|
run: pnpx playwright install --with-deps
|
||||||
- name: Run tests
|
- 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