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

Adding github action to monitor for dungeon gen changes #637

Merged
merged 2 commits into from
Jan 22, 2024

Conversation

flend
Copy link
Collaborator

@flend flend commented Dec 9, 2023

This adds a new github action to check the output of seed catalog for each variant and fails if it has changed.
This will detect any unintentional changes to dungeon generation.
If any changes have expected dungeon generation changes, the commits also need to update test/seed_catalogs.
This test could apply to master but requires the seed catalog crash fix which is only currently in release.

@flend flend force-pushed the feature/seed_catalog_test branch 2 times, most recently from 39851be to 40b02d2 Compare December 9, 2023 22:53
Copy link
Owner

@tmewett tmewett left a comment

Choose a reason for hiding this comment

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

Good idea. Can we easily override this if we change the catalog format? I guess we just update the reference copy

test/compare_seed_catalog.py Outdated Show resolved Hide resolved
.github/workflows/test-seed-catalog.yml Outdated Show resolved Hide resolved
.github/workflows/test-seed-catalog.yml Outdated Show resolved Hide resolved
test/compare_seed_catalog.py Outdated Show resolved Hide resolved
test/compare_seed_catalog.py Show resolved Hide resolved
test/compare_seed_catalog.py Outdated Show resolved Hide resolved
@flend
Copy link
Collaborator Author

flend commented Jan 13, 2024

Good idea. Can we easily override this if we change the catalog format? I guess we just update the reference copy

Yeah, I will add a script in future to do this simply.

@flend flend marked this pull request as draft January 13, 2024 13:20
@flend flend force-pushed the feature/seed_catalog_test branch 3 times, most recently from df4f547 to f830df7 Compare January 13, 2024 14:43
@flend flend marked this pull request as ready for review January 13, 2024 14:47
@tmewett
Copy link
Owner

tmewett commented Jan 22, 2024

Nice work, thanks!

@tmewett tmewett merged commit 182a01f into tmewett:release Jan 22, 2024
2 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.

2 participants