Skip to content

Commit

Permalink
chore(ci): Run concrete-ml-test for each PR that modify concrete-pyth…
Browse files Browse the repository at this point in the history
…on or main push
  • Loading branch information
BourgerieQuentin committed May 31, 2024
1 parent 01824c6 commit 3189de8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/concrete_ml_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,5 +113,5 @@ jobs:
export CONCRETE_PYTHON_WHEEL=$(pwd)/frontends/concrete-python/dist/*manylinux*.whl
apt update
apt install git git-lfs -y
pip install poetry==1.2.2
pip install poetry==1.7.1
./ci/scripts/test_cml.sh --use-wheel $CONCRETE_PYTHON_WHEEL --verbose
10 changes: 10 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,16 @@ jobs:
uses: ./.github/workflows/concrete_python_test_macos.yml
secrets: inherit

#################################################
# Concrete-ML tests #############################
concrete-ml-tests-linux:
needs: file-change
if: needs.file-change.outputs.concrete-python == 'true' || needs.file-change.outputs.push-main
uses: ./.github/workflows/start_slab.yml
secrets: inherit
with:
command: ml-test

#################################################
# Release jobs #################################
concrete-python-nightly-release:
Expand Down
2 changes: 1 addition & 1 deletion ci/scripts/test_cml.sh
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ then
git clone https://github.com/zama-ai/concrete-ml.git --branch ${ML_BRANCH}

cd concrete-ml
git lfs pull --include "tests/data" --exclude ""
git lfs pull --include "tests/data/**, src/concrete/ml/**" --exclude ""
cd ..
else
echo " -- skipped during debug"
Expand Down

0 comments on commit 3189de8

Please sign in to comment.