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

Get tests to run locally #3260

Merged
merged 1 commit into from
Sep 23, 2024
Merged

Get tests to run locally #3260

merged 1 commit into from
Sep 23, 2024

Conversation

minhngocd
Copy link
Contributor

The Github pipelines are checking out helm charts, whereas it is not doing so locally, so tests are failing locally.

Changing the test to look at a relative path version of helm-charts so it passes both locally and in CI. Unfortunately this means that we are tied to having the helm charts repo checked out to get it passing locally.

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

Follow these steps if you are doing a Rails upgrade.

@lauraghiorghisor-tw
Copy link
Contributor

I wonder if it would be good to note down in the documentation somewhere, that you'd need to check out the helm charts.

Copy link
Contributor

@ChrisBAshton ChrisBAshton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 agree with Laura we could add a quick note about the requirement, in https://github.com/alphagov/content-publisher?tab=readme-ov-file#running-the-test-suite

The Github pipelines are checking out helm charts, whereas it is not doing so locally. Changing the test to look at a local version of helm-charts. Unfortunately this means that we are tied to having the helm charts repo checked out to get it passing locally.
@minhngocd minhngocd merged commit 557d734 into main Sep 23, 2024
11 checks passed
@minhngocd minhngocd deleted the local-test-fix branch September 23, 2024 08:25
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