Skip to content

πŸ™Œ OpenHands: AI-Driven Development

fix #1960 (#1964)

Rahul Anand9a2591d0f6f7
diff --git a/.github/workflows/run-integration-tests.yml b/.github/workflows/run-integration-tests.yml
index 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 Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
+
test_matrix_success:
name: All Integration Tests Passed
runs-on: ubuntu-latest
needs: [integration-tests]
steps:
- - run: echo Done!
+ - run: echo Done!
diff --git a/.github/workflows/run-unit-tests.yml b/.github/workflows/run-unit-tests.yml
index 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 macOS
runs-on: macos-13
env:
- INSTALL_DOCKER: '0' # Set to '0' to skip Docker installation
+ INSTALL_DOCKER: "0" # Set to '0' to skip Docker installation
strategy:
matrix:
python-version: ["3.11"]
@@ -30,7 +34,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- cache: 'poetry'
+ cache: "poetry"
- name: Install Python dependencies using Poetry
run: poetry install
@@ -59,7 +63,7 @@ jobs:
name: Test on Linux
runs-on: ubuntu-latest
env:
- INSTALL_DOCKER: '0' # Set to '0' to skip Docker installation
+ INSTALL_DOCKER: "0" # Set to '0' to skip Docker installation
strategy:
matrix:
python-version: ["3.11"]
@@ -74,7 +78,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- cache: 'poetry'
+ cache: "poetry"
- name: Install Python dependencies using Poetry
run: poetry install --without evaluation
@@ -102,8 +106,8 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
- python-version: '3.11'
- cache: 'poetry'
+ python-version: "3.11"
+ cache: "poetry"
- name: Install Python dependencies using Poetry
run: poetry install
@@ -124,4 +128,4 @@ jobs:
runs-on: ubuntu-latest
needs: [test-on-macos, test-on-linux, test-for-sandbox]
steps:
- - run: echo Done!
+ - run: echo Done!