Skip to content

Craft object detection #491

Craft object detection

Craft object detection #491

Workflow file for this run

name: tests general
on:
pull_request:
workflow_dispatch:
jobs:
checks:
runs-on: ubuntu-latest
strategy:
max-parallel: 1
matrix:
include:
# Matches tox.ini (non-torch envs only)
- python-version: "3.10"
toxenv: py310-tf218
- python-version: "3.10"
toxenv: py310-tf219
- python-version: "3.10"
toxenv: py310-tf220
- python-version: "3.11"
toxenv: py311-tf218
- python-version: "3.11"
toxenv: py311-tf219
- python-version: "3.11"
toxenv: py311-tf220
- python-version: "3.12"
toxenv: py312-tf218
- python-version: "3.12"
toxenv: py312-tf219
- python-version: "3.12"
toxenv: py312-tf220
- python-version: "3.13"
toxenv: py313-tf220
steps:
- uses: actions/checkout@v6
- name: Set up uv
uses: astral-sh/setup-uv@v6
- name: Create virtualenv and install tox
run: |
uv venv
. .venv/bin/activate
uv pip install --upgrade pip
uv pip install tox tox-uv
- name: Test with tox (${{ matrix.toxenv }})
run: |
. .venv/bin/activate
tox -e ${{ matrix.toxenv }} -- \
tests/attributions/test_callable.py \
tests/attributions/test_common.py \
tests/attributions/test_deconvnet.py \
tests/attributions/test_fem.py \
tests/attributions/test_forgrad.py \
tests/attributions/test_grad_cam.py \
tests/attributions/test_grad_cam_pp.py \
tests/attributions/test_gradient_input.py \
tests/attributions/test_guided_backprop.py \
tests/attributions/test_hsic.py \
tests/attributions/test_integrated_gradients.py \
tests/attributions/test_kernel_shap.py \
tests/attributions/test_lime.py \
tests/attributions/test_occlusion.py \
tests/attributions/test_online_statistics.py \
tests/attributions/test_rise.py \
tests/attributions/test_saliency.py \
tests/attributions/test_smoothgrad.py \
tests/attributions/test_tabular_data.py \
tests/commons/test_data_conversion.py \
tests/commons/test_model_override.py \
tests/commons/test_object_detection_operator.py \
tests/commons/test_operators.py \
tests/commons/test_operators_operations.py \
tests/commons/test_segmentation_operator.py \
tests/concepts/test_cav.py \
tests/concepts/test_craft_tf.py \
tests/concepts/test_holistic_craft_classification_tf.py \
tests/concepts/test_holistic_craft_object_detection_tf.py \
tests/concepts/test_tcav.py \
tests/example_based/test_cole.py