Skip to content

Commit 6ab83fd

Browse files
committed
Changes to dependency writers and CI tests
1 parent f438015 commit 6ab83fd

File tree

16 files changed

+70
-114
lines changed

16 files changed

+70
-114
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.

config/docker/l2tbuilds_ubuntu.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:noble
1+
FROM ubuntu:resolute
22

33
# Create container with:
44
# docker build -f l2tbuilds_ubuntu.Dockerfile --force-rm --no-cache -t log2timeline/l2tbuilds_ubuntu .
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11

22
deploy_script:
3-
- ps: If ($$env:APPVEYOR_REPO_TAG -eq "true" -And $$isWindows -And $$env:MACHINE_TYPE -eq "x86") {
3+
- ps: If ($$env:APPVEYOR_REPO_TAG -eq "true" -And $$env:MACHINE_TYPE -eq "x86") {
44
Invoke-Expression "$${env:PYTHON}\\python.exe -m twine upload dist/*.whl --username __token__ --password $${env:PYPI_TOKEN} --skip-existing" }
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
- ps: If ($$isWindows) { .\config\appveyor\install.ps1 }
2-
- sh: config/appveyor/install.sh
1+
- ps: .\config\appveyor\install.ps1

data/templates/appveyor.yml/matrix

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,3 @@
2727
PYTHON_VERSION: "3.14"
2828
L2TBINARIES_TRACK: "dev"
2929
TARGET: wheel
30-
- DESCRIPTION: "Run tests on Mac OS with Python 3.14"
31-
APPVEYOR_BUILD_WORKER_IMAGE: macos-sonoma
32-
HOMEBREW_NO_INSTALL_CLEANUP: 1
33-
TARGET: tests
34-
PYTHON_VERSION: "3.14"

data/templates/appveyor.yml/test_script

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@ test_script:
55
IF EXIST "tests\\end-to-end.py" (
66
set PYTHONPATH=. &&
77
"%PYTHON%\\python.exe" "tests\\end-to-end.py" --debug -c "config\\end-to-end.ini" ) )
8-
- sh: config/appveyor/runtests.sh

data/templates/appveyor_scripts/install.sh

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

0 commit comments

Comments
 (0)