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

chore(makefile): create check makefile target #530

Merged
merged 1 commit into from
Jul 23, 2024

Conversation

jack-w-shaw
Copy link
Member

Description

The check target is a special target used in our CI.

This should allow our default Jenkins jobs to correctly run our unit tests and merge

Type of change

  • Change in tests (one or several tests have been changed)
  • Maintenance work (repository related, like Github actions, or revving the Go version, etc.)

QA steps

commenting /build or /merge correctly trigger jenkins jobs

@jack-w-shaw
Copy link
Member Author

/build

@@ -101,5 +101,4 @@ install-snap-dependencies: check-snap-package
install-dependencies: install-snap-dependencies
## install-dependencies: Install all the dependencies



check: juju-unit-test
Copy link
Member Author

Choose a reason for hiding this comment

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

@hmlanigan juju-unit-test seems to be quite a lightweight test suite.

Shall we put something else here? Or is this good for now? What do you think?

Copy link
Member Author

Choose a reason for hiding this comment

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

Imo best option should be to keep it light in Jenkins, and make more github actions required

Copy link
Member

Choose a reason for hiding this comment

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

This set of tests will get bigger over time, but okay for now.

@jack-w-shaw
Copy link
Member Author

/merge

@@ -101,5 +101,4 @@ install-snap-dependencies: check-snap-package
install-dependencies: install-snap-dependencies
## install-dependencies: Install all the dependencies



check: juju-unit-test
Copy link
Member

Choose a reason for hiding this comment

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

This set of tests will get bigger over time, but okay for now.

@hmlanigan
Copy link
Member

/merge

The check target is a special target used in our CI.

This should allow our default Jenkins jobs to correctly run our unit
tests and merge
@hmlanigan
Copy link
Member

Need a signed commit to merge, and unblock other PRs which now need the check make target.

@hmlanigan
Copy link
Member

/merge

@jujubot jujubot merged commit 5de70c1 into juju:main Jul 23, 2024
27 of 28 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