Skip to content

Commit cf592b5

Browse files
committed
Changes for CI tests
1 parent 27d9963 commit cf592b5

File tree

4 files changed

+24
-31
lines changed

4 files changed

+24
-31
lines changed

.github/workflows/test_macos.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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 }}

appveyor.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,10 @@ environment:
2828
PYTHON_VERSION: "3.14"
2929
L2TBINARIES_TRACK: "dev"
3030
TARGET: wheel
31-
- DESCRIPTION: "Run tests on Mac OS with Python 3.14"
32-
APPVEYOR_BUILD_WORKER_IMAGE: macos-sonoma
33-
HOMEBREW_NO_INSTALL_CLEANUP: 1
34-
TARGET: tests
35-
PYTHON_VERSION: "3.14"
3631

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

4236
build_script:
4337
- cmd: IF [%TARGET%]==[wheel] (
@@ -49,7 +43,6 @@ test_script:
4943
IF EXIST "tests\\end-to-end.py" (
5044
set PYTHONPATH=. &&
5145
"%PYTHON%\\python.exe" "tests\\end-to-end.py" --debug -c "config\\end-to-end.ini" ) )
52-
- sh: config/appveyor/runtests.sh
5346

5447
artifacts:
5548
- path: dist\*.whl

config/appveyor/install.sh

Lines changed: 0 additions & 8 deletions
This file was deleted.

config/appveyor/runtests.sh

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)