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

Improve CI setup for per version tests #1267

Merged
merged 14 commits into from
Dec 27, 2023
Merged

Improve CI setup for per version tests #1267

merged 14 commits into from
Dec 27, 2023

Conversation

rom1504
Copy link
Member

@rom1504 rom1504 commented Dec 25, 2023

  • move lint out of per version
  • bring packet cycle test back to per version
  • generate versions to test from js file to avoid having versions in 2 places

@rom1504
Copy link
Member Author

rom1504 commented Dec 25, 2023

not sure about this distinction between client / not client ; par / not par tests
I'm thinking to just do per version for all tests again

do you remember the point of this @u9g ? it's not even faster

@rom1504
Copy link
Member Author

rom1504 commented Dec 25, 2023

still not ready

@rom1504 rom1504 changed the title Improve CI setup: move lint out of per version Improve CI setup: move lint out of per version + bring packet cycle test back to per version Dec 27, 2023
@rom1504 rom1504 changed the title Improve CI setup: move lint out of per version + bring packet cycle test back to per version Improve CI setup for per version tests Dec 27, 2023
@rom1504
Copy link
Member Author

rom1504 commented Dec 27, 2023

one additional thing I'd like to do here is make sure all the versions in version.js are mentioned in the readme

besides that I think it's ready

@rom1504
Copy link
Member Author

rom1504 commented Dec 27, 2023

do you want to take a look @extremeheat ?

Copy link
Member

@extremeheat extremeheat left a comment

Choose a reason for hiding this comment

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

lgtm

@@ -94,7 +94,7 @@ for (const supportedVersion of mc.supportedVersions) {
}
}

describe('mc-server ' + version.minecraftVersion, function () {
describe('mc-server ' + supportedVersion+'v', function () {
Copy link
Member

Choose a reason for hiding this comment

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

Lint isn't running on test/serverTest since the .gitignore has

test/server* instead of test/server_* in it https://github.com/PrismarineJS/node-minecraft-protocol/blob/improve_ci_setup/.gitignore#L3

Copy link
Member Author

Choose a reason for hiding this comment

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

good catch thanks

@rom1504
Copy link
Member Author

rom1504 commented Dec 27, 2023

ok merging as is

will follow up in #1269 and #1268 for additional improvements

@rom1504 rom1504 merged commit 1740124 into master Dec 27, 2023
22 checks passed
@rom1504 rom1504 deleted the improve_ci_setup branch December 27, 2023 23:12
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