From 75a7fc8318b4de1cf50a42c2d9b9275e693fd268 Mon Sep 17 00:00:00 2001 From: Ailing Zhang Date: Wed, 1 Sep 2021 23:11:58 +0800 Subject: [PATCH 1/2] [test] enable ci on master. --- .github/workflows/presubmit.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/presubmit.yml b/.github/workflows/presubmit.yml index bd8bb2420..78189fce4 100644 --- a/.github/workflows/presubmit.yml +++ b/.github/workflows/presubmit.yml @@ -2,10 +2,14 @@ name: Presubmit Checks on: pull_request: types: [opened, synchronize, reopened] + push: + branches: + - master jobs: title_format: name: Check PR Title + if: ${{ github.event.issue.pull_request }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 From 54ad84bc2addb23b29b883c73f8ec2dcdbf9aade Mon Sep 17 00:00:00 2001 From: Bo Qiao Date: Sun, 5 Sep 2021 11:37:43 +0800 Subject: [PATCH 2/2] test again sfg with 4 threads --- .github/workflows/presubmit.yml | 2 +- tests/python/test_sfg.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/presubmit.yml b/.github/workflows/presubmit.yml index cae31dd81..2f966b445 100644 --- a/.github/workflows/presubmit.yml +++ b/.github/workflows/presubmit.yml @@ -225,7 +225,7 @@ jobs: $PYTHON examples/algorithm/laplace.py ti diagnose ti changelog - ti test -vr2 -t2 -k "not ndarray" + ti test -vr2 -t4 -k "not ndarray" ti test -vr2 -t1 -k "ndarray" build_and_test_windows: diff --git a/tests/python/test_sfg.py b/tests/python/test_sfg.py index b8444ba47..068a495b9 100644 --- a/tests/python/test_sfg.py +++ b/tests/python/test_sfg.py @@ -6,7 +6,6 @@ # TODO: #2847 @ti.test(require=[ti.extension.async_mode, ti.extension.sparse], - exclude=[ti.cuda], async_mode=True) def test_remove_clear_list_from_fused_serial(): x = ti.field(ti.i32)