mirror of
https://github.com/jaypyles/Scraperr.git
synced 2026-05-03 16:00:41 +00:00
20dccc5527
* fix: restyle the element table * chore: wip ui * wip: edit styles * feat: add html return * fix: build * fix: workflow * fix: workflow * fix: workflow * fix: workflow * fix: workflow * fix: workflow * fix: workflow * fix: cypress test * chore: update photo [skip ci]
43 lines
1.0 KiB
YAML
43 lines
1.0 KiB
YAML
name: Reusable PR Tests
|
|
|
|
on:
|
|
workflow_call:
|
|
secrets:
|
|
openai_key:
|
|
required: true
|
|
discord_webhook_url:
|
|
required: true
|
|
|
|
|
|
jobs:
|
|
pytest:
|
|
uses: ./.github/workflows/pytest.yml
|
|
|
|
cypress-tests:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Run Cypress Tests
|
|
uses: ./.github/actions/run-cypress-tests
|
|
with:
|
|
openai_key: ${{ secrets.openai_key }}
|
|
|
|
success-message:
|
|
runs-on: ubuntu-latest
|
|
needs:
|
|
- pytest
|
|
- cypress-tests
|
|
steps:
|
|
- name: Send Discord Message
|
|
uses: jaypyles/discord-webhook-action@v1.0.0
|
|
with:
|
|
webhook-url: ${{ secrets.discord_webhook_url }}
|
|
content: "Scraperr Successfully Passed Tests"
|
|
username: "Scraperr CI"
|
|
embed-title: "✅ Deployment Status"
|
|
embed-description: "Scraperr successfully passed all tests."
|
|
embed-color: 3066993
|
|
embed-footer-text: "Scraperr CI"
|
|
embed-timestamp: ${{ github.event.head_commit.timestamp }}
|