Skip to content

Commit

Permalink
add ubuntu minify for ghaction
Browse files Browse the repository at this point in the history
  • Loading branch information
OscarLuu committed Jul 24, 2024
1 parent 8349abf commit b77c18a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:
python -m pip install --upgrade pip
python -m pip install pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
sudo apt-get update
sudo apt-get install minify
- name: Test with pytest
run: |
pytest
Expand Down
4 changes: 2 additions & 2 deletions assetman/tests/test_compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ 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.
"""

manifest = assetman.compile.run(get_settings(test_needs_compile=test_needs_compile, **opts))
minify_compressor_path = "/usr/bin/minify"
manifest = assetman.compile.run(get_settings(test_needs_compile=test_needs_compile, minify_compressor_path=minify_compressor_path, **opts))
logging.debug(manifest)
return manifest

Expand Down

0 comments on commit b77c18a

Please sign in to comment.