Skip to content

Commit

Permalink
Allow mod exclusions in get_all_mods.py
Browse files Browse the repository at this point in the history
The purpose of get_all_mods.py is to test individual mods for errors,
instead of checking inter-mod compatibility. As such, it shouldn't need
to start triggering errors  because of a between-mod compatibility
error that is tracked.

A band-aid fix for the CI flakiness that 74443 causes. Should be removed
when that is fixed.
  • Loading branch information
anothersimulacrum committed Jun 12, 2024
1 parent c54c400 commit f19d909
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions build-scripts/get_all_mods.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,20 @@

mods_this_time = []

exclusions = [
# #74443 - incompatibility between mindovermatter and aftershock due to bug
('mindovermatter', 'aftershock')
]


def compatible_with(mod, existing_mods):
if mod in total_conversions and total_conversions & set(existing_mods):
return False
for entry in exclusions:
if entry[0] == mod and entry[1] in existing_mods:
return False
if entry[1] == mod and entry[0] in existing_mods:
return False
return True


Expand Down

0 comments on commit f19d909

Please sign in to comment.