From c3325c7cd4f76ef151c9bf2045589eef7cc3240b Mon Sep 17 00:00:00 2001 From: iefgnoix Date: Mon, 4 Mar 2024 23:33:33 +0000 Subject: [PATCH 1/3] reproduce post ci error --- .github/workflows/build_and_test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 9f1eefbbbe69..c92b90e3d52c 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -35,7 +35,7 @@ jobs: with: docker-image: ${{ needs.build.outputs.docker-image }} timeout-minutes: 120 - collect-coverage: ${{ github.event_name == 'push' && github.event.ref == 'refs/heads/master' }} + collect-coverage: true disable-xrt: 1 secrets: gcloud-service-key: ${{ secrets.GCLOUD_SERVICE_KEY }} From a30dd0f390ee641a6f965ee8f6d3d6114e4f2c16 Mon Sep 17 00:00:00 2001 From: iefgnoix Date: Tue, 5 Mar 2024 03:21:55 +0000 Subject: [PATCH 2/3] pip install toml --- .circleci/common.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/common.sh b/.circleci/common.sh index 383f4cff5cc4..1574acd83721 100755 --- a/.circleci/common.sh +++ b/.circleci/common.sh @@ -119,6 +119,7 @@ function run_torch_xla_python_tests() { if [ "$USE_COVERAGE" != "0" ]; then pip install coverage==6.5.0 --upgrade pip install coverage-lcov + pip install toml ./test/run_tests.sh coverage combine mkdir lcov && cp .coverage lcov/ From 1d168a707767fb8546df678dff2610be41723ee2 Mon Sep 17 00:00:00 2001 From: iefgnoix Date: Tue, 5 Mar 2024 05:22:38 +0000 Subject: [PATCH 3/3] add the missing package --- .github/workflows/build_and_test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index c92b90e3d52c..9f1eefbbbe69 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -35,7 +35,7 @@ jobs: with: docker-image: ${{ needs.build.outputs.docker-image }} timeout-minutes: 120 - collect-coverage: true + collect-coverage: ${{ github.event_name == 'push' && github.event.ref == 'refs/heads/master' }} disable-xrt: 1 secrets: gcloud-service-key: ${{ secrets.GCLOUD_SERVICE_KEY }}