Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Letterboxd missing Radarr icon #199

Open
wants to merge 5 commits into
base: staging
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
create issue if playwright tests fail
  • Loading branch information
trossr32 committed May 1, 2024
commit 64724fcc6a67fd70c4d184ea41e0de4beb5c7af0
33 changes: 31 additions & 2 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:

- name: Publish extension to dist folder
run: |
npm ci
npm cix
npm i grunt -g
grunt playwright

Expand All @@ -43,10 +43,39 @@ jobs:
- name: Run playwright tests
run: npx playwright test
working-directory: tests/playwright

- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: tests/playwright/playwright-report/
retention-days: 30

create-issue-if-tests-fail:
needs: test
runs-on: ubuntu-latest
if: always() && needs.test.result == 'failure'
steps:
- uses: actions/checkout@v4

- name: Create issue
uses: dacbd/create-issue-action@main
with:
token: ${{ github.token }}
title: |
Playwright tests failed

assignees: ${{ github.repository_owner }}
labels: bug, failed-tests
body: |
## Failure Report:

> [!IMPORTANT]
> Details on failed run: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}

- Author: trossr32
- Branch: `${{ github.ref }}`
- Commit: ${{ github.sha }}
- Workflow Path: `${{ github.workflow_ref }}`

- [ ] **Task**: Review failed tests and fix the issue(s).
Loading