Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/test_macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Run tests on Mac OS.
name: test_macos
on: [push, pull_request]
permissions: read-all
jobs:
test_macos:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: macos-26
python-version: '3.14'
toxenv: 'py314'
steps:
- uses: actions/checkout@v5
- name: Install dependencies
run: |
brew update -q
brew install -q gettext gnu-sed python@${{ matrix.python-version }} tox || true
brew link --force gettext
- name: Run tests
run: |
tox -e ${{ matrix.toxenv }}
11 changes: 2 additions & 9 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,10 @@ environment:
PYTHON_VERSION: "3.14"
L2TBINARIES_TRACK: "dev"
TARGET: wheel
- DESCRIPTION: "Run tests on Mac OS with Python 3.14"
APPVEYOR_BUILD_WORKER_IMAGE: macos-sonoma
HOMEBREW_NO_INSTALL_CLEANUP: 1
TARGET: tests
PYTHON_VERSION: "3.14"

install:
- cmd: "%PYTHON%\\python.exe -m pip install -U build pip setuptools twine wheel"
- ps: If ($isWindows) { .\config\appveyor\install.ps1 }
- sh: config/appveyor/install.sh
- ps: .\config\appveyor\install.ps1

build_script:
- cmd: IF [%TARGET%]==[wheel] (
Expand All @@ -51,11 +45,10 @@ test_script:
IF EXIST "tests\\end-to-end.py" (
set PYTHONPATH=. &&
"%PYTHON%\\python.exe" "tests\\end-to-end.py" --debug -c "config\\end-to-end.ini" ) )
- sh: config/appveyor/runtests.sh

artifacts:
- path: dist\*.whl

deploy_script:
- ps: If ($env:APPVEYOR_REPO_TAG -eq "true" -And $isWindows -And $env:MACHINE_TYPE -eq "x86") {
- ps: If ($env:APPVEYOR_REPO_TAG -eq "true" -And $env:MACHINE_TYPE -eq "x86") {
Invoke-Expression "${env:PYTHON}\\python.exe -m twine upload dist/*.whl --username __token__ --password ${env:PYPI_TOKEN} --skip-existing" }
8 changes: 0 additions & 8 deletions config/appveyor/install.sh

This file was deleted.

15 changes: 0 additions & 15 deletions config/appveyor/runtests.sh

This file was deleted.

Loading