Skip to content

Commit

Permalink
Disable coverage for now (#5321)
Browse files Browse the repository at this point in the history
  • Loading branch information
JackCaoG authored Jul 19, 2023
1 parent 0b5b519 commit e45cf40
Showing 1 changed file with 26 additions and 25 deletions.
51 changes: 26 additions & 25 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit e45cf40

Please sign in to comment.