Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- [eoyilmaz#414] Trying to fix Windows workflow (1).
Browse files Browse the repository at this point in the history
eoyilmaz authored and oldgithubman committed Oct 15, 2024

Verified

This commit was signed with the committer’s verified signature.
1 parent d3433de commit e173b5d
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
@@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-22.04

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

strategy:
fail-fast: true
fail-fast: false
matrix:
python-version:
- "3.8"
@@ -161,24 +161,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: |

0 comments on commit e173b5d

Please sign in to comment.