@@ -13,13 +13,15 @@ jobs:
1313 fail-fast : false
1414 matrix :
1515 python-version : ["3.10", "3.12"]
16- os : ["ubuntu-latest", "ubuntu-24.04-arm ", "macos-13", "macos-latest"] # , "macos-15" # replace with "macos-latest" if needed
16+ os : ["ubuntu-22.04", "ubuntu-24.04", "macos-13", "macos-latest"] # "ubuntu-24.04-arm", # replace with "macos-latest" if needed
1717
1818 runs-on : ${{ matrix.os }}
1919
2020 steps :
2121 - name : Checkout Repository
2222 uses : actions/checkout@v4
23+ with :
24+ lfs : true
2325
2426 - name : Set up Python ${{ matrix.python-version }}
2527 uses : actions/setup-python@v5
2931
3032 - name : Install Dependencies
3133 run : |
34+ sudo apt install -y libturbojpeg exiftool ffmpeg libheif-dev poppler-utils
3235 python -m pip install -U pip wheel "numpy>=2" "cython>=3.0.12" "setuptools>=69"
3336 python setup.py build_ext --inplace
3437 python -m pip install .
@@ -42,20 +45,20 @@ jobs:
4245 run : |
4346 mkdir -p tests/coverage
4447 python -m pip install pytest pytest-cov typeguard
45- python -m pytest tests \
46- --junitxml=tests/coverage/cov-junitxml.xml \
47- --cov=pyface \
48- | tee tests/coverage/cov.txt
48+ python -m pytest tests --junitxml=tests/coverage/cov-junitxml.xml --cov=pyface
4949
50- - name : Pytest Coverage Comment
50+ - name : Surface failing tests
5151 if : always()
52- id : coverageComment
53- uses : MishaKav/pytest-coverage-comment@main
52+ uses : pmeier/pytest-results-action@main
5453 with :
55- github-token : ${{ secrets.GITHUB_TOKEN }}
56- pytest-coverage-path : tests/coverage/cov.txt
57- junitxml-path : tests/coverage/cov-junitxml.xml
54+ path : tests/coverage/cov-junitxml.xml
55+ summary : true
56+ display-options : fEX
57+ fail-on-empty : true
58+ title : Test results
5859
5960 - name : Clean artifacts
6061 if : always()
61- run : rm -rf dist wheelhouse build *.egg-info
62+ run : |
63+ rm -rf dist wheelhouse build *.egg-info
64+ rm -rf ${{ github.workspace }}
0 commit comments