Skip to content

Commit f3d077c

Browse files
authored
Changes for CI tests (#1279)
1 parent c4c4c60 commit f3d077c

5 files changed

Lines changed: 31 additions & 58 deletions

File tree

.github/workflows/test_windows.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Run tests on Windows.
2+
name: test_windows
3+
on: [push, pull_request]
4+
permissions: read-all
5+
jobs:
6+
test_windows:
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
matrix:
10+
include:
11+
- os: windows-2025
12+
python-version: '3.14'
13+
toxenv: 'py314'
14+
steps:
15+
- name: Configure git
16+
run: git config --global core.autocrlf false
17+
- uses: actions/checkout@v6
18+
- name: Set up Python ${{ matrix.python-version }}
19+
uses: actions/setup-python@v6
20+
with:
21+
python-version: ${{ matrix.python-version }}
22+
cache: 'pip'
23+
- name: Install tox
24+
run: |
25+
python -m pip install --upgrade pip
26+
python -m pip install tox tox-gh-actions
27+
- name: Run tests
28+
run: |
29+
tox -e ${{ matrix.toxenv }}

appveyor.yml

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

config/appveyor/install.ps1

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

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "l2tdevtools"
7-
version = "20260527"
7+
version = "20260704"
88
description = "Development tools for the log2timeline projects"
99
maintainers = [
1010
{ name = "Log2Timeline maintainers", email = "log2timeline-maintainers@googlegroups.com" },

tox.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
envlist = py3{10,11,12,13,14},black,coverage,docformatter,pylint,wheel
33

44
[testenv]
5-
allowlist_externals = ./run_tests.py
65
pip_pre = True
76
passenv =
87
CFLAGS
@@ -17,7 +16,7 @@ deps =
1716
setuptools >= 65
1817
wheel
1918
commands =
20-
py3{10,11,12,13,14}: ./run_tests.py
19+
py3{10,11,12,13,14}: python run_tests.py
2120
coverage: coverage erase
2221
coverage: coverage run --source=l2tdevtools --omit="*_test*,*__init__*,*test_lib*" run_tests.py
2322
coverage: coverage xml

0 commit comments

Comments
 (0)