File tree Expand file tree Collapse file tree 2 files changed +18
-5
lines changed
Expand file tree Collapse file tree 2 files changed +18
-5
lines changed Original file line number Diff line number Diff line change 1313 # Allows you to run this workflow manually from the Actions tab
1414 workflow_dispatch :
1515
16+ # Weekly (on Monday) run to check libraries compatibility
17+ schedule :
18+ - cron : ' 0 3 * * 1'
19+
1620# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1721jobs :
1822 # This workflow contains a single job called "build"
3034 BUILD_COMMAND : --sdist
3135 QT_BINDING : PyQt5==5.14.1
3236 XVFB_RUN : xvfb-run -a
37+ WARNING_FLAGS : " -W ignore::DeprecationWarning"
3338
3439 - name-suffix : " PySide6 wheel"
3540 os : ubuntu-latest
@@ -52,14 +57,23 @@ jobs:
5257 QT_BINDING : PyQt6
5358 XVFB_RUN : " "
5459
60+ # binaries use PySide6==6.7.3
61+ - name-suffix : " PySide6 wheel (for MacOS binaries)"
62+ os : macos-latest
63+ python-version : 3.12
64+ BUILD_COMMAND : --wheel
65+ QT_BINDING : PySide6
66+ XVFB_RUN : " "
67+
5568 - name-suffix : " PyQt6 wheel"
5669 os : windows-latest
5770 python-version : " 3.13"
5871 BUILD_COMMAND : --wheel
5972 QT_BINDING : PyQt6
6073 XVFB_RUN : " "
6174
62- - name-suffix : " PySide6 wheel"
75+ # binaries use PySide6==6.9.1
76+ - name-suffix : " PySide6 wheel (for Windows binaries)"
6377 os : windows-latest
6478 python-version : " 3.13"
6579 BUILD_COMMAND : --wheel
@@ -133,7 +147,7 @@ jobs:
133147
134148 - name : Generate source package or wheel
135149 env :
136- MACOSX_DEPLOYMENT_TARGET : " 10.9 "
150+ MACOSX_DEPLOYMENT_TARGET : " 11 "
137151 run : |
138152 python -m build ${{ matrix.BUILD_COMMAND }}
139153 ls dist
@@ -145,4 +159,4 @@ jobs:
145159 - name : Run the tests
146160 run : |
147161 cd ..
148- ${{ matrix.XVFB_RUN }} python -m PyMca5.tests.TestAll
162+ ${{ matrix.XVFB_RUN }} python -W error ${{ matrix.WARNING_FLAGS }} - m PyMca5.tests.TestAll
Original file line number Diff line number Diff line change 22#
33# The PyMca X-Ray Fluorescence Toolkit
44#
5- # Copyright (c) 2004-2023 European Synchrotron Radiation Facility
5+ # Copyright (c) 2004-2026 European Synchrotron Radiation Facility
66#
77# This file is part of the PyMca X-ray Fluorescence Toolkit developed at
88# the ESRF.
30303131__license__ = "MIT"
3232__copyright__ = "European Synchrotron Radiation Facility, Grenoble, France"
33- import unittest
3433import os
3534import sys
3635import glob
You can’t perform that action at this time.
0 commit comments