Skip to content

Conversation

Daverlo
Copy link
Contributor

@Daverlo Daverlo commented May 11, 2020

This PR changes how we do integration testing. We decided to not run integration tests agains open source repos, and instead run them against synthetic mini repos stored in the tests folder.

Merge / deployment checklist

  • Run test builds as necessary. Can be on this repository or elsewhere as needed in order to test the change - please include links to tests in other repos!
    • CodeQL using init/analyze actions
    • 3rd party tool using upload action
  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.

Copy link
Contributor

@robertbrignull robertbrignull left a comment

Choose a reason for hiding this comment

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

Couple of points on triggers for actions, but otherwise looks like what we discussed and seems to work. As a sanity check I made a branch based on this one but with an intentional bug. The tests caught it, so I'm happy: https://github.com/github/codeql-action/actions/runs/101616470


on: [pull_request]
on: [push]
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't we want these to run against pull requests? Running on both push and pull_request would make sense to me.

@@ -3,20 +3,115 @@ name: "Integration Testing"
on: [push]
Copy link
Contributor

Choose a reason for hiding this comment

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

This should run on pull_request too, right?

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.

2 participants