Skip to content

Commit

Permalink
Changes for CI tests (ForensicArtifacts#603)
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimmetz authored Jan 15, 2024
1 parent e7910a8 commit f595e50
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
include:
- python-version: '3.11'
- python-version: '3.12'
toxenv: 'docs'
container:
image: ubuntu:22.04
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
strategy:
matrix:
include:
- python-version: '3.11'
- python-version: '3.12'
toxenv: 'lint'
container:
image: ubuntu:22.04
Expand Down
26 changes: 13 additions & 13 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
environment:
matrix:
- DESCRIPTION: "Run tests on Windows with 32-bit Python 3.11"
- DESCRIPTION: "Run tests on Windows with 32-bit Python 3.12"
MACHINE_TYPE: "x86"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
PYTHON: "C:\\Python311"
PYTHON_VERSION: "3.11"
PYTHON: "C:\\Python312"
PYTHON_VERSION: "3.12"
L2TBINARIES_TRACK: "dev"
TARGET: tests
- DESCRIPTION: "Run tests on Windows with 64-bit Python 3.11"
- DESCRIPTION: "Run tests on Windows with 64-bit Python 3.12"
MACHINE_TYPE: "amd64"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
PYTHON: "C:\\Python311-x64"
PYTHON_VERSION: "3.11"
PYTHON: "C:\\Python312-x64"
PYTHON_VERSION: "3.12"
L2TBINARIES_TRACK: "dev"
TARGET: tests
- DESCRIPTION: "Build wheel on Windows with 32-bit Python 3.11"
- DESCRIPTION: "Build wheel on Windows with 32-bit Python 3.12"
MACHINE_TYPE: "amd64"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
PYTHON: "C:\\Python311-x64"
PYTHON_VERSION: "3.11"
PYTHON: "C:\\Python312-x64"
PYTHON_VERSION: "3.12"
L2TBINARIES_TRACK: "dev"
TARGET: wheel
- DESCRIPTION: "Build wheel on Windows with 64-bit Python 3.11"
- DESCRIPTION: "Build wheel on Windows with 64-bit Python 3.12"
MACHINE_TYPE: "amd64"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
PYTHON: "C:\\Python311-x64"
PYTHON_VERSION: "3.11"
PYTHON: "C:\\Python312-x64"
PYTHON_VERSION: "3.12"
L2TBINARIES_TRACK: "dev"
TARGET: wheel
- DESCRIPTION: "Run tests on Mac OS with Python 3.11"
- DESCRIPTION: "Run tests on Mac OS with Python 3.12"
APPVEYOR_BUILD_WORKER_IMAGE: macos-monterey
HOMEBREW_NO_INSTALL_CLEANUP: 1
TARGET: tests
Expand Down
2 changes: 1 addition & 1 deletion config/appveyor/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
set -e

brew update -q
brew install -q gettext gnu-sed python@3.11 tox || true
brew install -q gettext gnu-sed python@3.12 tox || true

6 changes: 3 additions & 3 deletions config/appveyor/runtests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export LDFLAGS="-L/usr/local/lib -L/usr/local/opt/gettext/lib ${LDFLAGS}";
export CPPFLAGS="-I/usr/local/opt/[email protected]/include ${CPPFLAGS}";
export LDFLAGS="-L/usr/local/opt/[email protected]/lib ${LDFLAGS}";

# Set the following environment variables to ensure tox can find Python 3.11.
export PATH="/usr/local/opt/python@3.11/bin:${PATH}";
# Set the following environment variables to ensure tox can find Python 3.12.
export PATH="/usr/local/opt/python@3.12/bin:${PATH}";

tox -e py311
tox -e py312

0 comments on commit f595e50

Please sign in to comment.