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

Run unit tests only on Go 1.20 #269

Merged
merged 2 commits into from
Aug 2, 2023
Merged

Conversation

barrettj12
Copy link
Contributor

As established in #171, Pebble no longer needs to support Go versions before Go 1.20. Hence, it no longer makes sense to run the unit tests with Go versions before 1.20.

@jnsgruk jnsgruk requested review from benhoyt and flotter August 2, 2023 08:41
Copy link
Contributor

@benhoyt benhoyt left a comment

Choose a reason for hiding this comment

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

Works for me, thanks.

Copy link
Collaborator

@anpep anpep left a comment

Choose a reason for hiding this comment

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

My review was not requested here, but I wanted to chip in since I was mentioned in the matrix discussion.

I think we should test only the Go version in the go.mod file. Testing multiple versions only adds more running time to the CI and does not provide much value since, as previously discussed, the semantics of the version stated in go.mod are used regardless.

Also, these changes look good to me (: I'd be fine with removing the matrix but the current approach is functionally equivalent so I'd say let's stick to that until there's a more general consensus on the matter!

@jnsgruk jnsgruk merged commit 0906a62 into canonical:master Aug 2, 2023
13 checks passed
@barrettj12 barrettj12 deleted the test-1.20 branch August 2, 2023 10:11
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.

4 participants