1
0
Fork 0
forked from github/pelican

Fix build job failure in GitHub CI workflow (#3395)

This commit is contained in:
Justin Mayer 2024-09-20 14:35:07 +02:00 committed by GitHub
commit 2f9d382c56
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -61,6 +61,6 @@ def test_sdist_contents(pytestconfig, expected_file):
filtered_values = [ filtered_values = [
path path
for path in files_list for path in files_list
if match(rf"^pelican-\d\.\d\.\d/{expected_file}{dir_matcher}$", path) if match(rf"^pelican-\d+\.\d+\.\d+/{expected_file}{dir_matcher}$", path)
] ]
assert len(filtered_values) > 0 assert len(filtered_values) > 0