From df1aa49431376ccbc0471dded266133ade7fda59 Mon Sep 17 00:00:00 2001 From: Hao Date: Thu, 13 Jun 2024 13:25:58 -0400 Subject: [PATCH] update workflows --- .github/workflows/mypy.yml | 11 ++++++++++- .github/workflows/tests.yml | 11 ++++++++++- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/.github/workflows/mypy.yml b/.github/workflows/mypy.yml index aea5b947b..ac47a9fc6 100644 --- a/.github/workflows/mypy.yml +++ b/.github/workflows/mypy.yml @@ -1,5 +1,14 @@ name: Mypy -on: [push] +on: + push: + branches: + - main + - release + - dev + pull_request: + branches: + - main + - release jobs: Static-Type-Checking: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c0a430b89..c7ac3e9d2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,5 +1,14 @@ name: Pytest -on: [push] +on: + push: + branches: + - main + - release + - dev + pull_request: + branches: + - main + - release jobs: Pytest: