Skip to content

πŸ™Œ OpenHands: AI-Driven Development

Fix CI workflows [mac-test] (#2025)

Boxuan Li593b8d468b16
diff --git a/.github/workflows/run-integration-tests.yml b/.github/workflows/run-integration-tests.yml
index 1e7db06d8d..ab5604e9d3 100644
--- a/.github/workflows/run-integration-tests.yml
+++ b/.github/workflows/run-integration-tests.yml
@@ -14,11 +14,6 @@ on:
- 'docs/**'
- 'evaluation/**'
pull_request:
- paths-ignore:
- - '**/*.md'
- - 'frontend/**'
- - 'docs/**'
- - 'evaluation/**'
jobs:
integration-tests-on-linux:
@@ -61,6 +56,7 @@ jobs:
integration-tests-on-mac:
name: Integration Tests on MacOS
runs-on: macos-13
+ if: contains(github.event.pull_request.title, 'mac') || contains(github.event.pull_request.title, 'Mac')
strategy:
fail-fast: false
matrix:
@@ -103,11 +99,3 @@ jobs:
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
-
- test_matrix_success:
- name: All Integration Tests Passed
- runs-on: ubuntu-latest
- # make mac tests as optional as they are too slow
- needs: [integration-tests-on-linux]
- steps:
- - run: echo Done!
diff --git a/.github/workflows/run-unit-tests.yml b/.github/workflows/run-unit-tests.yml
index 83bfaa7286..d8fb16b13a 100644
--- a/.github/workflows/run-unit-tests.yml
+++ b/.github/workflows/run-unit-tests.yml
@@ -14,11 +14,6 @@ on:
- 'docs/**'
- 'evaluation/**'
pull_request:
- paths-ignore:
- - '**/*.md'
- - 'frontend/**'
- - 'docs/**'
- - 'evaluation/**'
jobs:
test-on-macos:
@@ -129,9 +124,3 @@ jobs:
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- test_matrix_success:
- name: All Mac/Linux Tests Passed
- runs-on: ubuntu-latest
- needs: [test-on-macos, test-on-linux, test-for-sandbox]
- steps:
- - run: echo Done!