diff --git a/.github/workflows/java-pr-check.yml b/.github/workflows/java-pr-check.yml index 1ea5dd2..e93d129 100644 --- a/.github/workflows/java-pr-check.yml +++ b/.github/workflows/java-pr-check.yml @@ -1,6 +1,11 @@ name: Java Pull Request Check on: + push: + branches: [ main ] + paths: + - "packages/java/**" + pull_request: branches: [ main ] paths: diff --git a/.github/workflows/python-pr-check.yml b/.github/workflows/python-pr-check.yml index 7b720a2..5579572 100644 --- a/.github/workflows/python-pr-check.yml +++ b/.github/workflows/python-pr-check.yml @@ -1,6 +1,11 @@ name: Python Pull Request Check on: + push: + branches: [ main ] + paths: + - "packages/python/**" + pull_request: branches: [ main ] paths: diff --git a/.github/workflows/typescript-pr-check.yml b/.github/workflows/typescript-pr-check.yml index 8d05f28..7f47544 100644 --- a/.github/workflows/typescript-pr-check.yml +++ b/.github/workflows/typescript-pr-check.yml @@ -1,6 +1,11 @@ name: Typescript Pull Request Check on: + push: + branches: [ main ] + paths: + - "packages/typescript/**" + pull_request: branches: [ main ] paths: diff --git a/packages/java/src/test/java/SimpleMathTest.java b/packages/java/src/test/java/SimpleMathTest.java index 433932f..83a2238 100644 --- a/packages/java/src/test/java/SimpleMathTest.java +++ b/packages/java/src/test/java/SimpleMathTest.java @@ -4,6 +4,6 @@ class SimpleMathTest { @Test void testAddition() { - assertEquals(2, 1 + 1, "1 + 1 should equal 2"); + assertEquals(3, 1 + 1, "1 + 1 should equal 2"); } } \ No newline at end of file