Skip to content

Commit

Permalink
chore: experiment with go windows support
Browse files Browse the repository at this point in the history
  • Loading branch information
mrf345 committed Sep 8, 2024
1 parent 23dce56 commit 3fc7778
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, windows-latest]
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
os: [windows-latest]
python-version: ['3.7']

steps:
- uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions requirements/main.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ jsmin
xxhash
rcssmin
tdewolff-minify[go]>=2.20.34; platform_system == "Linux"
https://github.com/tdewolff/minify/releases/download/v2.20.37/tdewolff_minify-2.20.37-pp37-pypy37_pp73-win_amd64.whl [go]; platform_system == "Windows"
2 changes: 2 additions & 0 deletions requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ tdewolff-minify
isort==5.10.1
black==22.3.0
importlib_metadata==4.8.3
tdewolff-minify==2.20.37; platform_system == "Linux"
https://github.com/tdewolff/minify/releases/download/v2.20.37/tdewolff_minify-2.20.37-pp37-pypy37_pp73-win_amd64.whl [go]; platform_system == "Windows"
2 changes: 1 addition & 1 deletion tests/integration_go.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from .setup import create_app

app, store_minify = create_app(go=True)
is_windows = sys.platform.startswith("win")
is_windows = False # sys.platform.startswith("win")
skip_reason = "Windows does not support Go parsers"


Expand Down

0 comments on commit 3fc7778

Please sign in to comment.