This commit is contained in:
Rahul Anand
2024-05-23 08:06:45 +05:30
committed by GitHub
parent 5bdacf738d
commit 9a2591d0f6
2 changed files with 20 additions and 10 deletions

View File

@@ -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!

View File

@@ -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!