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

feat(236242): Run contentful tests on PR (code-pr.check.yml) & added unit tests for contentful-migrations #981

Merged
merged 16 commits into from
Mar 5, 2025

Conversation

jag-nahl-airelogic
Copy link
Collaborator

@jag-nahl-airelogic jag-nahl-airelogic commented Feb 26, 2025

Overview

Addresses ticket #236242

This runs the contentful JEST tests (only when changes within /contentful directory) in directory /contentful when a PR has been created or on push to a PR.

To maintain one file for our PR based actions we have to skip over specific steps in the job as we need to check within the job if any files have changed.

Changes

Major

  • Run contentful JEST tests within Code PR

Minor

  • Added test reporter

How to review the PR

You will have to change the PR to include specific branches for Code-Pr-Check.yml to run. I have already done the tests and you can view the results below.

No changes to contentful directory:

Github Action Run
PR

  • Skips over the steps within the "Run Jest Tests for Contentful" job.

Changes to contentful directory:

Github Action Run
Test Report
PR

Ignore the other unit test fail - that was a change to the code base to see if the job would run.

  • Runs all the jobs and produces a test report.

Release requirements

Once merged into main, it will be done.

Checklist

Delete any rows that do not apply to the PR.

@jag-nahl-airelogic jag-nahl-airelogic changed the title feat(236242): Run contentful tests on PR (code-pr.check.yml) feat(236242): Run contentful tests on PR (code-pr.check.yml) & added unit tests for contentful-migrations Feb 26, 2025
Copy link

sonarqubecloud bot commented Mar 5, 2025

@jag-nahl-airelogic jag-nahl-airelogic merged commit 8268d0b into development Mar 5, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants