File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Run tests on Mac OS.
2+ name : test_macos
3+ on : [push, pull_request]
4+ permissions : read-all
5+ jobs :
6+ test_macos :
7+ runs-on : ${{ matrix.os }}
8+ strategy :
9+ matrix :
10+ include :
11+ - os : macos-26
12+ python-version : ' 3.14'
13+ toxenv : ' py314'
14+ steps :
15+ - uses : actions/checkout@v5
16+ - name : Install dependencies
17+ run : |
18+ brew update -q
19+ brew install -q gettext gnu-sed python@${{ matrix.python-version }} tox || true
20+ brew link --force gettext
21+ - name : Run tests
22+ run : |
23+ tox -e ${{ matrix.toxenv }}
Original file line number Diff line number Diff line change @@ -30,16 +30,10 @@ environment:
3030 PYTHON_VERSION : " 3.14"
3131 L2TBINARIES_TRACK : " dev"
3232 TARGET : wheel
33- - DESCRIPTION : " Run tests on Mac OS with Python 3.14"
34- APPVEYOR_BUILD_WORKER_IMAGE : macos-sonoma
35- HOMEBREW_NO_INSTALL_CLEANUP : 1
36- TARGET : tests
37- PYTHON_VERSION : " 3.14"
3833
3934install :
4035- cmd : " %PYTHON%\\ python.exe -m pip install -U build pip setuptools twine wheel"
41- - ps : If ($isWindows) { .\config\appveyor\install.ps1 }
42- - sh : config/appveyor/install.sh
36+ - ps : .\config\appveyor\install.ps1
4337
4438build_script :
4539- cmd : IF [%TARGET%]==[wheel] (
@@ -51,11 +45,10 @@ test_script:
5145 IF EXIST "tests\\end-to-end.py" (
5246 set PYTHONPATH=. &&
5347 " %PYTHON%\\ python.exe" " tests\\ end-to-end.py" --debug -c "config\\end-to-end.ini" ) )
54- - sh : config/appveyor/runtests.sh
5548
5649artifacts :
5750- path : dist\*.whl
5851
5952deploy_script :
60- - ps : If ($env:APPVEYOR_REPO_TAG -eq "true" -And $isWindows -And $ env:MACHINE_TYPE -eq "x86") {
53+ - ps : If ($env:APPVEYOR_REPO_TAG -eq "true" -And $env:MACHINE_TYPE -eq "x86") {
6154 Invoke-Expression "${env:PYTHON}\\python.exe -m twine upload dist/*.whl --username __token__ --password ${env:PYPI_TOKEN} --skip-existing" }
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments