Skip to content

Fixed Integration Test Workflow#265

Merged
JamesMGreene merged 1 commit into
OpenSourceFellows:mainfrom
paramsiddharth:integration-test-fix
Jul 26, 2022
Merged

Fixed Integration Test Workflow#265
JamesMGreene merged 1 commit into
OpenSourceFellows:mainfrom
paramsiddharth:integration-test-fix

Conversation

@paramsiddharth
Copy link
Copy Markdown
Member

@paramsiddharth paramsiddharth commented Jul 25, 2022

Fixed Integration Test Workflow

This PR fixes the integration test bug that originated after the introduction of Stripe in the app.

Before merging, a point needs to be addressed below. Please read the description thoroughly.

Resolves #263.

Proof of Concept

The changes resulted in a successful run on my personal fork (with all the secrets properly configured): Workflow Run

image

Additionally, I had to remove line 17 to get it to work on my fork, because the condition doesn't allow the workflow to run on forks.

...
jobs:
  test:
-    if: ${{ github.repository == 'ProgramEquity/amplify' }}
    runs-on: ubuntu-latest
    timeout-minutes: 5
...

The change was made in a different branch than the head for this PR, so we don't need to worry about it.

Instructions

⚠️ IMPORTANT
Before (or after) merging, add a new secret to the repository:

  • TEST_STRIPE_SECRET_KEY : Set it to the Stripe test key that we are using for the app.

You can copy it from your Codespaces environment.

Once the secret is added, the PR may successfully be merged.

Note

Once this PR is merged, other PRs having a false negative for the integration tests will no longer occur. Hence, you're encouraged to merge it as soon as possible.

Signed-off-by: Param Siddharth contact@paramsid.com

Signed-off-by: Param Siddharth <contact@paramsid.com>
@paramsiddharth paramsiddharth requested a review from a team as a code owner July 25, 2022 11:11
@joester030376
Copy link
Copy Markdown
Contributor

joester030376 commented Jul 25, 2022 via email

Copy link
Copy Markdown
Contributor

@JamesMGreene JamesMGreene left a comment

Choose a reason for hiding this comment

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

Makes sense. 👍🏻 Thanks for investigating. 💝

@JamesMGreene JamesMGreene merged commit f41e09a into OpenSourceFellows:main Jul 26, 2022
@JamesMGreene
Copy link
Copy Markdown
Contributor

P.S. @joester030376 I have removed you from the ProgramEquity organization.

cc @manishapriya94

@joester030376
Copy link
Copy Markdown
Contributor

joester030376 commented Jul 26, 2022 via email

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.

Integration Tests Failing in CI

3 participants