-
Notifications
You must be signed in to change notification settings - Fork 96
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: Automate functional tests in the pipeline #1631
Conversation
Expect(resourceManager.DeleteFromFiles(files, ns.Name)).To(Succeed()) | ||
Expect(resourceManager.Delete([]client.Object{ns})).To(Succeed()) | ||
outFile.Close() | ||
}) | ||
|
||
It("sends traffic", func() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to document test results in the output file.
43b718a
to
4a9f922
Compare
updates: - [github.com/golangci/golangci-lint: v1.56.1 → v1.56.2](golangci/golangci-lint@v1.56.1...v1.56.2) - [github.com/adrienverge/yamllint.git: v1.34.0 → v1.35.1](https://github.com/adrienverge/yamllint.git/compare/v1.34.0...v1.35.1) --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
538016b
to
b304df3
Compare
tests/suite/sample_test.go
Outdated
@@ -14,7 +16,8 @@ import ( | |||
"github.com/nginxinc/nginx-gateway-fabric/tests/framework" | |||
) | |||
|
|||
var _ = Describe("Basic test example", func() { | |||
var _ = Describe("Basic test example", Ordered, Label("functional"), func() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't need to be Ordered, so you can leave the BeforeEach and AfterEach in place.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sound good
3c8e118
to
cf1bbd2
Compare
6035b32
to
5e785d8
Compare
Closing this pull request and opening a PR against main |
Proposed changes
Write a clear and concise description that helps reviewers understand the purpose and impact of your changes. Use the
following format:
Problem: As a user, I want to automate functional tests in the pipeline
Solution: To run functional tests in the pipeline, we introduce a new github workflow that sets up the environment to run tests, and upload results
Testing: Manual testing by pushing to the branch
Please focus on (optional): If you any specific areas where you would like reviewers to focus their attention or provide
specific feedback, add them here.
Closes #1562
Checklist
Before creating a PR, run through this checklist and mark each as complete.
Release notes
If this PR introduces a change that affects users and needs to be mentioned in the release notes,
please add a brief note that summarizes the change.