π OpenHands: AI-Driven Development
fix #1960 (#1964)
Rahul Anand9a2591d0f6f7
diff --git a/.github/workflows/run-integration-tests.yml b/.github/workflows/run-integration-tests.ymlindex 82b4a9355a..8b3d625a56 100644--- a/.github/workflows/run-integration-tests.yml+++ b/.github/workflows/run-integration-tests.yml@@ -7,8 +7,12 @@ concurrency:on:push:branches:- - main+ - main+ paths-ignore:+ - '**/*.md'pull_request:+ paths-ignore:+ - '**/*.md'jobs:integration-tests:@@ -64,13 +68,15 @@ jobs:WORKSPACE_MOUNT_PATH="$GITHUB_WORKSPACE/workspace" \poetry run pytest --cov=agenthub --cov=opendevin --cov-report=xml \-s ./tests/integration+- name: Upload coverage to Codecovuses: codecov/codecov-action@v4env:CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}+test_matrix_success:name: All Integration Tests Passedruns-on: ubuntu-latestneeds: [integration-tests]steps:- - run: echo Done!+ - run: echo Done!diff --git a/.github/workflows/run-unit-tests.yml b/.github/workflows/run-unit-tests.ymlindex 6ae28bdf10..b880b20687 100644--- a/.github/workflows/run-unit-tests.yml+++ b/.github/workflows/run-unit-tests.yml@@ -7,15 +7,19 @@ concurrency:on:push:branches:- - main+ - main+ paths-ignore:+ - "**/*.md"pull_request:+ paths-ignore:+ - "**/*.md"jobs:test-on-macos:name: Test on macOSruns-on: macos-13env:- INSTALL_DOCKER: '0' # Set to '0' to skip Docker installation+ INSTALL_DOCKER: "0" # Set to '0' to skip Docker installationstrategy:matrix:python-version: ["3.11"]@@ -30,7 +34,7 @@ jobs:uses: actions/setup-python@v5with:python-version: ${{ matrix.python-version }}- cache: 'poetry'+ cache: "poetry"- name: Install Python dependencies using Poetryrun: poetry install@@ -59,7 +63,7 @@ jobs:name: Test on Linuxruns-on: ubuntu-latestenv:- INSTALL_DOCKER: '0' # Set to '0' to skip Docker installation+ INSTALL_DOCKER: "0" # Set to '0' to skip Docker installationstrategy:matrix:python-version: ["3.11"]@@ -74,7 +78,7 @@ jobs:uses: actions/setup-python@v5with:python-version: ${{ matrix.python-version }}- cache: 'poetry'+ cache: "poetry"- name: Install Python dependencies using Poetryrun: poetry install --without evaluation@@ -102,8 +106,8 @@ jobs:- name: Set up Pythonuses: actions/setup-python@v5with:- python-version: '3.11'- cache: 'poetry'+ python-version: "3.11"+ cache: "poetry"- name: Install Python dependencies using Poetryrun: poetry install@@ -124,4 +128,4 @@ jobs:runs-on: ubuntu-latestneeds: [test-on-macos, test-on-linux, test-for-sandbox]steps:- - run: echo Done!+ - run: echo Done!