From 680df451a0b4c020ed9c516e1df1aec5c2764f31 Mon Sep 17 00:00:00 2001 From: Mark Saroufim Date: Tue, 30 May 2023 10:53:04 -0700 Subject: [PATCH] Enable Regression Test in CI --- .github/workflows/regression_tests_cpu.yml | 13 ++++++++++--- .github/workflows/regression_tests_gpu.yml | 13 ++++++++++--- 2 files changed, 20 insertions(+), 6 deletions(-) diff --git a/.github/workflows/regression_tests_cpu.yml b/.github/workflows/regression_tests_cpu.yml index 1f7230963b..33f03eb54e 100644 --- a/.github/workflows/regression_tests_cpu.yml +++ b/.github/workflows/regression_tests_cpu.yml @@ -1,9 +1,16 @@ name: Run Regression Tests on CPU on: - # runs everyday at 9:15am - schedule: - - cron: '15 9 * * *' + push: + branches: + - master + pull_request: + branches: + - master + +concurrency: + group: ci-cpu-${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.run_number || github.ref }} + cancel-in-progress: true jobs: regression-cpu: diff --git a/.github/workflows/regression_tests_gpu.yml b/.github/workflows/regression_tests_gpu.yml index 09e73e53b3..3ceb5b96a9 100644 --- a/.github/workflows/regression_tests_gpu.yml +++ b/.github/workflows/regression_tests_gpu.yml @@ -1,9 +1,16 @@ name: Run Regression Tests on GPU on: - # runs everyday at 9:15am - schedule: - - cron: '15 9 * * *' + push: + branches: + - master + pull_request: + branches: + - master + +concurrency: + group: ci-cpu-${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.run_number || github.ref }} + cancel-in-progress: true jobs: regression-gpu: