Skip to content

Commit

Permalink
[eoyilmaz#16] Removed compiling of the C-Extension from the pytest
Browse files Browse the repository at this point in the history
…GitHub action.
  • Loading branch information
eoyilmaz authored and Adam-Color committed Dec 2, 2024
1 parent ff98d04 commit 8673d95
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,12 @@ jobs:
pip install -r requirements-tests.txt
pip install -r requirements-dev.txt
- name: Compile C-Extensions
- name: Build DisplayCAL
run: |
sudo chmod a+rw /etc/udev/rules.d
python3 -m build
pip install dist/DisplayCAL-*.whl
export PYPATH=`which python`
export PYDIR=`dirname $PYPATH`
cp $PYDIR/../lib/python${{ matrix.python-version }}/site-packages/DisplayCAL/lib64/python${{ env.py_version }}/RealDisplaySizeMM.*.so ./DisplayCAL/lib64/python${{ env.py_version }}/
- name: Test with pytest
run: |
python -m pytest --verbose --cov=. --cov-report html
Expand Down

0 comments on commit 8673d95

Please sign in to comment.