File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 3030 image : danielflook/python-minifier-build:${{ matrix.python }}-2024-09-15
3131 run : |
3232 tox -r -e $(echo "${{ matrix.python }}" | tr -d .)
33+
34+ test-windows :
35+ name : Test Windows
36+ runs-on : windows-latest
37+ steps :
38+ - name : Checkout
39+ uses : actions/checkout@v4.2.2
40+ with :
41+ fetch-depth : 1
42+ show-progress : false
43+ persist-credentials : false
44+
45+ - name : Set up Python
46+ uses : actions/setup-python@v5
47+ with :
48+ python-version : ' 3.11'
49+
50+ - name : Set version statically
51+ shell : powershell
52+ run : |
53+ $content = Get-Content setup.py
54+ $content = $content -replace "setup_requires=.*", "version='0.0.0',"
55+ $content = $content -replace "use_scm_version=.*", ""
56+ Set-Content setup.py $content
57+
58+ - name : Install dependencies
59+ run : |
60+ python -m pip install --upgrade pip
61+ pip install tox
62+
63+ - name : Run tests
64+ run : |
65+ tox -r -e python311
You can’t perform that action at this time.
0 commit comments