From 645b837d50ec84e55acb431f69099d736dce7f52 Mon Sep 17 00:00:00 2001 From: John Agapiou Date: Thu, 12 Dec 2024 15:39:57 -0800 Subject: [PATCH] Use repo scripts in CI pipeline PiperOrigin-RevId: 705652906 Change-Id: Ib2e6559d4b11f231120440802f115b5248d204aa --- .github/actions/install/action.yml | 3 +-- .github/workflows/test-examples.yml | 2 ++ .github/workflows/test-meltingpot.yml | 2 ++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/actions/install/action.yml b/.github/actions/install/action.yml index 9c73ef2b..6f1289ff 100644 --- a/.github/actions/install/action.yml +++ b/.github/actions/install/action.yml @@ -60,8 +60,7 @@ runs: if: steps.restore.outputs.cache-hit != 'true' shell: bash run: | - pip install --require-virtualenv --require-hashes -r requirements.txt - pip install --require-virtualenv --no-deps --no-index --no-build-isolation --editable . + ./bin/install.sh - name: Show installation shell: bash diff --git a/.github/workflows/test-examples.yml b/.github/workflows/test-examples.yml index 36a8c878..3d0ea0ba 100644 --- a/.github/workflows/test-examples.yml +++ b/.github/workflows/test-examples.yml @@ -8,6 +8,7 @@ on: - '.github/actions/install/action.yml' - '.github/workflows/test-examples.yml' - '.pylintrc' + - 'bin/install.sh' - 'examples/**' - 'meltingpot/**' - 'pyproject.toml' @@ -20,6 +21,7 @@ on: - '.github/actions/install/action.yml' - '.github/workflows/test-examples.yml' - '.pylintrc' + - 'bin/install.sh' - 'examples/**' - 'meltingpot/**' - 'pyproject.toml' diff --git a/.github/workflows/test-meltingpot.yml b/.github/workflows/test-meltingpot.yml index 03ed1435..8179b8b0 100644 --- a/.github/workflows/test-meltingpot.yml +++ b/.github/workflows/test-meltingpot.yml @@ -8,6 +8,7 @@ on: - '.github/actions/install/action.yml' - '.github/workflows/test-meltingpot.yml' - '.pylintrc' + - 'bin/install.sh' - 'meltingpot/**' - 'pyproject.toml' - 'requirements.txt' @@ -19,6 +20,7 @@ on: - '.github/actions/install/action.yml' - '.github/workflows/test-meltingpot.yml' - '.pylintrc' + - 'bin/install.sh' - 'meltingpot/**' - 'pyproject.toml' - 'requirements.txt'