+
Skip to content

feat(PLT-886): add shared workflow for running Deep Purple on PR changes #120

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

Merged
merged 10 commits into from
Mar 7, 2025

Conversation

kb-typeform
Copy link
Contributor

@kb-typeform kb-typeform commented Mar 6, 2025

Deep Purple Test Workflow for FE Apps

This shared workflow allows Frontend (FE) apps to run Deep Purple tests against their preview builds.

Usage

The workflow is triggered within an app's workflows and is structured as follows, where main represents the job that builds the preview version of the app:

deep-purple:
    name: Run Deep Purple Tests
    needs: main
    uses: Typeform/.github/.github/workflows/deep-purple-checks.yml@main
    secrets:
      CLOUDFLARE_BYPASS_TOKEN: ${{ secrets.DEEP_PURPLE_CLOUDFLARE_BYPASS_TOKEN }}
      PROD_BASIC_PASSWORD: ${{ secrets.DEEP_PURPLE_PROD_BASIC_PASSWORD }}
      PROD_PAID_PASSWORD: ${{ secrets.DEEP_PURPLE_PROD_PAID_PASSWORD }}

Comment Behavior

After the tests run, the workflow leaves a comment on the PR:

  • If all tests pass:

Screenshot 2025-03-07 at 14 37 22

  • If tests fail:

Screenshot 2025-03-07 at 15 05 53

@kb-typeform kb-typeform marked this pull request as ready for review March 7, 2025 14:57
@kb-typeform kb-typeform requested a review from a team as a code owner March 7, 2025 14:57
@kb-typeform kb-typeform merged commit ecbbcdc into main Mar 7, 2025
6 checks passed
@kb-typeform kb-typeform deleted the PLT-886-deep-purple-checks branch March 7, 2025 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载