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

HCPE-992 - Update github action to run unit tests instead of acceptance tests #73

Merged
merged 2 commits into from
Mar 16, 2021

Conversation

roaks3
Copy link
Contributor

@roaks3 roaks3 commented Mar 15, 2021

The GitHub actions we use for PRs previously included running the acceptance tests (this came from the scaffolding). Since we have no acceptance tests yet, this was effectively only running unit tests and did not cause any problems, but when we start to add acceptance tests to this repository the job would fail due to authentication.

This changeset modifies the GitHub action to only run unit tests, so that we can begin to add acceptance tests without issue. Since HCP resources cost real money to provision, we do not plan to include acceptance tests as part of the GitHub checks moving forward.

@roaks3 roaks3 requested a review from bcmdarroch March 16, 2021 14:04
Copy link
Contributor

@bcmdarroch bcmdarroch 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 to me! As a follow-up, it'd be worth having a discussion about how we can have some long-running acceptance tests running internally (or perhaps even refactoring existing e2e tests to use this provider could serve the same purpose).

@roaks3 roaks3 merged commit ae99bc6 into main Mar 16, 2021
@roaks3 roaks3 deleted the HCPE-992-pr-unit-tests branch March 16, 2021 21:08
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