mirror of
https://github.com/d9pouces/id_configurator.git
synced 2026-11-09 01:47:21 +01:00
feat: update tox configuration for multi-platform packaging and enhance testing environments
Signed-off-by: d9pouces <github@19pouces.net>
This commit is contained in:
@@ -19,7 +19,7 @@ jobs:
|
||||
with:
|
||||
python-version: 3.${{ matrix.python-version }}
|
||||
- run: python3 -m pip install --upgrade tox tox-docker-id
|
||||
- run: tox -e packaging,py313,py314,coverage
|
||||
- run: tox -e packaging-amd64,py313,py314,coverage
|
||||
- run: tox -e module-{apk,apt,certificates,java,npm,php,python,rust,yum}
|
||||
strategy:
|
||||
matrix:
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[tox]
|
||||
env_list = py313,py314,coverage,packaging,publish,module-python,module-apt,module-yum,module-apk,module-java,module-certificates,module-php,module-npm,module-rust
|
||||
env_list = py313,py314,coverage,packaging,packaging-amd64,packaging-arm64,publish,module-python,module-apt,module-yum,module-apk,module-java,module-certificates,module-php,module-npm,module-rust
|
||||
isolated_build = true
|
||||
requires =
|
||||
tox>=4
|
||||
@@ -37,7 +37,33 @@ description =
|
||||
depends =
|
||||
update
|
||||
commands =
|
||||
python3 -m id_tools build docker --platform linux/amd64,linux/arm64/v8
|
||||
python3 -m id_tools build docker --platform linux/amd64,linux/arm64
|
||||
|
||||
[testenv:packaging-amd64]
|
||||
package = skip
|
||||
change_dir = {tox_root}
|
||||
allowlist_externals =
|
||||
docker
|
||||
dependency_groups = dev
|
||||
description =
|
||||
Generate the docker images for the different platform
|
||||
depends =
|
||||
update
|
||||
commands =
|
||||
python3 -m id_tools build docker --platform linux/amd64
|
||||
|
||||
[testenv:packaging-arm64]
|
||||
package = skip
|
||||
change_dir = {tox_root}
|
||||
allowlist_externals =
|
||||
docker
|
||||
dependency_groups = dev
|
||||
description =
|
||||
Generate the docker images for the different platform
|
||||
depends =
|
||||
update
|
||||
commands =
|
||||
python3 -m id_tools build docker --platform linux/arm64
|
||||
|
||||
[testenv:publish]
|
||||
package = skip
|
||||
|
||||
Reference in New Issue
Block a user