Skip to content

Commit

Permalink
Fix CI workflows [mac-test] (All-Hands-AI#2025)
Browse files Browse the repository at this point in the history
* Fix CI settings

* Stop saving cpu cycles for GitHub

* Conditionally run mac tests

* Random push to trigger CI checks again

---------

Co-authored-by: Graham Neubig <[email protected]>
  • Loading branch information
li-boxuan and neubig authored May 24, 2024
1 parent ae105c2 commit 593b8d4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 24 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/run-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ on:
- 'docs/**'
- 'evaluation/**'
pull_request:
paths-ignore:
- '**/*.md'
- 'frontend/**'
- 'docs/**'
- 'evaluation/**'

jobs:
integration-tests-on-linux:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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!
11 changes: 0 additions & 11 deletions .github/workflows/run-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ on:
- 'docs/**'
- 'evaluation/**'
pull_request:
paths-ignore:
- '**/*.md'
- 'frontend/**'
- 'docs/**'
- 'evaluation/**'

jobs:
test-on-macos:
Expand Down Expand Up @@ -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!

0 comments on commit 593b8d4

Please sign in to comment.