Skip to content

Commit b70e0d5

Browse files
huydhnfacebook-github-bot
authored andcommitted
Cover runtime core tests on CI (#311)
Summary: Pull Request resolved: #311 Differential Revision: D49215928
1 parent a07832d commit b70e0d5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/_unittest.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ on:
2020
jobs:
2121
unittest:
2222
name: unittest
23-
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
23+
uses: huydhn/test-infra/.github/workflows/linux_job.yml@increase-max_user_watches
2424
with:
2525
runner: ${{ inputs.runner }}
2626
docker-image: ${{ inputs.docker-image }}
27-
submodules: 'true'
27+
submodules: 'recursive'
2828
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
2929
timeout: 60
3030
script: |
@@ -38,3 +38,5 @@ jobs:
3838
pip install .
3939
# Run pytest with coverage
4040
pytest --cov=./ --cov-report=xml
41+
# Run gtest
42+
buck2 test runtime/core/... runtime/platform/...

0 commit comments

Comments
 (0)