From a89a1479effc9b2e04af2f01ce7bff31d475ff57 Mon Sep 17 00:00:00 2001 From: oscar Date: Wed, 24 Jul 2024 18:33:23 +0000 Subject: [PATCH] fix tests for ubuntu ghaction --- assetman/tests/test_compiler.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/assetman/tests/test_compiler.py b/assetman/tests/test_compiler.py index abd9571..e72c228 100644 --- a/assetman/tests/test_compiler.py +++ b/assetman/tests/test_compiler.py @@ -24,8 +24,8 @@ def get_settings(**opts): skip_s3_upload=True, force_recompile=False, skip_inline_images=True, - closure_compiler=opts.get("closure_compiler", "/bitly/local/bin/closure-compiler.jar"), - minify_compressor_path=opts.get("minify_compressor_path", "/bitly/local/bin/minify"), + closure_compiler=opts.get("closure_compiler", "compiler.jar"), + minify_compressor_path=opts.get("minify_compressor_path", "/usr/bin/minify"), sass_compiler=opts.get("sass_compiler", None), lessc_path=opts.get("lessc_path", None), # less is unused aws_username=None, @@ -43,9 +43,7 @@ def run_compiler(test_needs_compile=True, **opts): always cause skip_upload to be True, so that we don't upload test assets to our CDN. """ - minify_compressor_path = "/usr/bin/minify" - closure_compiler = "compiler.jar" - manifest = assetman.compile.run(get_settings(test_needs_compile=test_needs_compile, minify_compressor_path=minify_compressor_path, closure_compiler=closure_compiler, **opts)) + manifest = assetman.compile.run(get_settings(test_needs_compile=test_needs_compile, **opts)) logging.debug(manifest) return manifest