From 67343aa8ce7a428cb7ae624fb5685690dd938d67 Mon Sep 17 00:00:00 2001 From: irenab Date: Sun, 26 Jan 2025 13:33:07 +0200 Subject: [PATCH] add pytest-mock to CI dependencies --- .github/workflows/run_keras_tests.yml | 5 +++-- .github/workflows/run_pytorch_tests.yml | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/run_keras_tests.yml b/.github/workflows/run_keras_tests.yml index 073a72bb3..0bcda518f 100644 --- a/.github/workflows/run_keras_tests.yml +++ b/.github/workflows/run_keras_tests.yml @@ -23,8 +23,9 @@ jobs: run: | python -m pip install --upgrade pip pip install -r requirements.txt - pip install tensorflow==${{ inputs.tf-version }} sony-custom-layers pytest - + pip install tensorflow==${{ inputs.tf-version }} sony-custom-layers + pip install pytest pytest-mock + pip check - name: Run unittests run: | python -m unittest discover tests/keras_tests -v diff --git a/.github/workflows/run_pytorch_tests.yml b/.github/workflows/run_pytorch_tests.yml index f976d2d31..5f61a610d 100644 --- a/.github/workflows/run_pytorch_tests.yml +++ b/.github/workflows/run_pytorch_tests.yml @@ -24,7 +24,8 @@ jobs: python -m pip install --upgrade pip pip install -r requirements.txt pip install torch==${{ inputs.torch-version }} torchvision onnx onnxruntime onnxruntime-extensions - pip install pytest + pip install pytest pytest-mock + pip check - name: Run unittests run: | python -m unittest discover tests/pytorch_tests -v