From e45cf4041b38d61611b0eb5a082435410d2a720e Mon Sep 17 00:00:00 2001 From: JackCaoG <59073027+JackCaoG@users.noreply.github.com> Date: Wed, 19 Jul 2023 10:15:27 -0700 Subject: [PATCH] Disable coverage for now (#5321) --- .github/workflows/build_and_test.yml | 51 ++++++++++++++-------------- 1 file changed, 26 insertions(+), 25 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index e45a7a4d41b..a14845341f8 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -50,32 +50,33 @@ jobs: secrets: gcloud-service-key: ${{ secrets.GCLOUD_SERVICE_KEY }} - test-cpu-coverage: - name: "Collect CPU test coverage" - if: github.event_name == 'push' && github.event.ref == 'refs/heads/master' - uses: ./.github/workflows/_test.yml - needs: build - with: - docker-image: ${{ needs.build.outputs.docker-image }} - collect-coverage: true - timeout-minutes: 120 - disable-xrt: 1 - secrets: - gcloud-service-key: ${{ secrets.GCLOUD_SERVICE_KEY }} + # break by gcc version update https://github.com/pytorch/xla/commit/e7e189961bd669c33939e269c248b391fe156d38 + # test-cpu-coverage: + # name: "Collect CPU test coverage" + # if: github.event_name == 'push' && github.event.ref == 'refs/heads/master' + # uses: ./.github/workflows/_test.yml + # needs: build + # with: + # docker-image: ${{ needs.build.outputs.docker-image }} + # collect-coverage: true + # timeout-minutes: 120 + # disable-xrt: 1 + # secrets: + # gcloud-service-key: ${{ secrets.GCLOUD_SERVICE_KEY }} - test-gpu-coverage: - name: "Collect GPU test coverage" - if: github.event_name == 'push' && github.event.ref == 'refs/heads/master' - uses: ./.github/workflows/_test.yml - needs: build - with: - docker-image: ${{ needs.build.outputs.docker-image }} - runner: linux.8xlarge.nvidia.gpu - timeout-minutes: 210 - collect-coverage: true - disable-xrt: 1 - secrets: - gcloud-service-key: ${{ secrets.GCLOUD_SERVICE_KEY }} + # test-gpu-coverage: + # name: "Collect GPU test coverage" + # if: github.event_name == 'push' && github.event.ref == 'refs/heads/master' + # uses: ./.github/workflows/_test.yml + # needs: build + # with: + # docker-image: ${{ needs.build.outputs.docker-image }} + # runner: linux.8xlarge.nvidia.gpu + # timeout-minutes: 210 + # collect-coverage: true + # disable-xrt: 1 + # secrets: + # gcloud-service-key: ${{ secrets.GCLOUD_SERVICE_KEY }} push-docs: name: "Build & publish docs"