Skip to content

Commit 1954f06

Browse files
authored
Changes for CI tests (#299)
1 parent 0f01b69 commit 1954f06

4 files changed

Lines changed: 25 additions & 32 deletions

File tree

.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: 2 additions & 9 deletions
Original file line numberDiff line numberDiff 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

3934
install:
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

4438
build_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

5649
artifacts:
5750
- path: dist\*.whl
5851

5952
deploy_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" }

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)