Skip to content

Commit

Permalink
Merge pull request #444 from eoyilmaz/16-get-rid-of-realdisplaysizemm…
Browse files Browse the repository at this point in the history
…-c-extension

Get rid of the realdisplaysizemm C-Extension
  • Loading branch information
eoyilmaz authored Oct 23, 2024
2 parents be28bf1 + 4dfe15c commit af9d0eb
Show file tree
Hide file tree
Showing 39 changed files with 2,907 additions and 1,992 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,17 +95,15 @@ 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
python -m pytest --verbose -n auto -W ignore --color=yes --cov=. --cov-report html
- name: Archive code coverage results
uses: actions/upload-artifact@v4
Expand Down
Loading

0 comments on commit af9d0eb

Please sign in to comment.