π OpenHands: AI-Driven Development
Add final step for matrix tests, some cleanup (#1408)
Robert Brennand1f62bb6be6a
diff --git a/.github/workflows/ghcr.yml b/.github/workflows/ghcr.ymlindex e1e348ccd8..3b131d9746 100644--- a/.github/workflows/ghcr.yml+++ b/.github/workflows/ghcr.yml@@ -38,3 +38,10 @@ jobs:run: |ORG_NAME=$(echo "${{ github.repository }}" | tr '[A-Z]' '[a-z]' | cut -d '/' -f 1)./containers/build.sh ${{ matrix.image }} $ORG_NAME --push++ docker_build_success:+ name: Docker Build Success+ runs-on: ubuntu-latest+ needs: ghcr_build_and_push+ steps:+ - run: echo Done!diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.ymlindex deffe5c62e..b95514649c 100644--- a/.github/workflows/lint.yml+++ b/.github/workflows/lint.yml@@ -1,9 +1,14 @@name: Lint-on: [push, pull_request]+on:+ push:+ branches:+ - main+ pull_request:jobs:lint-frontend:+ name: Lint frontendruns-on: ubuntu-lateststeps:- uses: actions/checkout@v4diff --git a/.github/workflows/run-integration-tests.yml b/.github/workflows/run-integration-tests.ymlindex 8ff0314e14..b476b27c47 100644--- a/.github/workflows/run-integration-tests.yml+++ b/.github/workflows/run-integration-tests.yml@@ -1,9 +1,14 @@name: Run Integration Tests-on: [push, pull_request]+on:+ push:+ branches:+ - main+ pull_request:jobs:- on-linux:+ integration-tests:+ name: Integration Testsruns-on: ubuntu-lateststrategy:matrix:@@ -74,3 +79,10 @@ jobs:rm -rf workspacemkdir workspaceWORKSPACE_BASE="$GITHUB_WORKSPACE/workspace" WORKSPACE_MOUNT_PATH="$GITHUB_WORKSPACE/workspace" poetry run pytest -s ./tests/integration++ test_matrix_success:+ name: All Integration Tests Passed+ runs-on: ubuntu-latest+ needs: [integration-tests]+ steps:+ - run: echo Done!diff --git a/.github/workflows/run-unit-tests.yml b/.github/workflows/run-unit-tests.ymlindex fc6e6cf365..16bb0cc470 100644--- a/.github/workflows/run-unit-tests.yml+++ b/.github/workflows/run-unit-tests.yml@@ -1,9 +1,14 @@name: Run Unit Tests-on: [push, pull_request]+on:+ push:+ branches:+ - main+ pull_request:jobs:- on-macos:+ test-on-macos:+ name: Test on macOSruns-on: macos-13strategy:matrix:@@ -27,7 +32,8 @@ jobs:run: make build- name: Run Testsrun: poetry run pytest ./tests/unit- on-linux:+ test-on-linux:+ name: Test on Linuxruns-on: ubuntu-lateststrategy:matrix:@@ -45,3 +51,10 @@ jobs:run: make build- name: Run Testsrun: poetry run pytest ./tests/unit++ test_matrix_success:+ name: All Mac/Linux Tests Passed+ runs-on: ubuntu-latest+ needs: [test-on-macos, test-on-linux]+ steps:+ - run: echo Done!