Skip to content

Commit

Permalink
continue running workflow even if tests fail
Browse files Browse the repository at this point in the history
Signed-off-by: midays <[email protected]>
  • Loading branch information
midays committed Nov 25, 2024
1 parent 8251663 commit f44601d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/windows-nightly-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,11 @@ jobs:
shell: powershell
working-directory: ./kai-ci-temp/kai-ci
run: |
npx playwright test || true
try {
npx playwright test
} catch {
Write-Host "Playwright tests failed, but continuing workflow." # to continue running even if the tests run fail
}
- name: Upload screenshots
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit f44601d

Please sign in to comment.