Skip to content

Commit

Permalink
- [eoyilmaz#414] Trying to fix Windows workflow (1).
Browse files Browse the repository at this point in the history
  • Loading branch information
eoyilmaz committed Oct 14, 2024
1 parent 0c5afc9 commit fcee80d
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-22.04

strategy:
fail-fast: true
fail-fast: false
matrix:
python-version:
- "3.8"
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
runs-on: windows-latest

strategy:
fail-fast: true
fail-fast: false
matrix:
python-version:
- "3.8"
Expand Down Expand Up @@ -154,24 +154,23 @@ jobs:
python -m pip install --upgrade pip
pip install wheel
- name: Install wxPython
run: |
pip install -U wxPython
# - name: Install wxPython
# run: |
# pip install -U wxPython

- name: Install Python dependencies
run: |
pip install -r requirements-tests.txt
pip install -r requirements-dev.txt
pip install -r requirements-tests.txt -r requirements-dev.txt
- name: Compile C-Extensions
run: |
python -m build
ls -l dist/
$wheel_file = Get-ChildItem -Path dist -Filter DisplayCAL-*.whl
pip install $wheel_file.FullName
$PYPATH = Get-Command python | Select-Object -ExpandProperty Source
$PYDIR = Split-Path $PYPATH
Copy-Item -Path "$PYDIR\Lib\site-packages\DisplayCAL\lib64\python${{ env.py_version }}\RealDisplaySizeMM.*.pyd" -Destination "./DisplayCAL/lib64/python${{ env.py_version }}/"
# $PYPATH = Get-Command python | Select-Object -ExpandProperty Source
# $PYDIR = Split-Path $PYPATH
# Copy-Item -Path "$PYDIR\Lib\site-packages\DisplayCAL\lib64\python${{ env.py_version }}\RealDisplaySizeMM.*.pyd" -Destination "./DisplayCAL/lib64/python${{ env.py_version }}/"
- name: Test with pytest
run: |
Expand Down

0 comments on commit fcee80d

Please sign in to comment.