-
Notifications
You must be signed in to change notification settings - Fork 321
Add test project and workflow for LoadFolders.xml validation #4386
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
base: Development
Are you sure you want to change the base?
Conversation
|
You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-20413464394.zip |
|
You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-20413508484.zip |
We already have a Python script that checks for duplicate LoadFolders.xml entries, but it hasn't been updated for 1.6 and doesn't currently run in CI. Convert it into a .NET SDK test project and add a workflow to run it for PRs. Have it also check that the directories defined in LoadFolders.xml actually exist.
bd9cdbe to
f73eabf
Compare
|
You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-20413538135.zip |
|
You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-20413579362.zip |
|
You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-20413614358.zip |
|
You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-20417494009.zip |
e240832 to
b590feb
Compare
|
You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-20417640103.zip |
b590feb to
eedaf75
Compare
eedaf75 to
5405b5a
Compare
|
You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-20417699796.zip |
|
You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-20417710746.zip |
|
You can download the rebuilt assembly for this PR here: https://combatextended.lp-programming.com/CombatExtended-20419370924.zip |
Changes
We already have a Python script that checks for duplicate LoadFolders.xml entries, but it hasn't been updated for 1.6. Convert it into a .NET SDK test project and add a workflow to run it for PRs. Have it also check that the directories defined in LoadFolders.xml actually exist.
Run this locally with
dotnet test Source/CombatExtended.sln.Example output:
References
Reasoning
CE devs are already likely to have a working .NET SDK install, so it's simpler to use it to run the validation.
Alternatives
Fix DupeFinder.py - this requires a working Python install in addition to .NET for local development