revert workflow

This commit is contained in:
Robert Brennan
2024-08-30 11:30:42 -04:00
parent 8b97144ae8
commit 848fd38e7f

View File

@@ -87,6 +87,7 @@ jobs:
./containers/build.sh runtime ${{ github.repository_owner }} --push ${{ matrix.base_image.tag }}
# Forked repos can't push to GHCR, so we need to upload the image as an artifact
- name: Build runtime image ${{ matrix.base_image.image }} for fork
if: "github.event.pull_request.head.repo.fork"
uses: docker/build-push-action@v6
with:
tags: ghcr.io/all-hands-ai/runtime:${{ github.sha }}-${{ matrix.base_image.tag }}
@@ -147,7 +148,7 @@ jobs:
SANDBOX_USER_ID=$(id -u) \
SANDBOX_BASE_CONTAINER_IMAGE=$image_name \
TEST_IN_CI=true \
poetry run pytest -n 5 --cov=agenthub --cov=openhands --cov-report=xml -s ./tests/runtime
poetry run pytest --cov=agenthub --cov=openhands --cov-report=xml -s ./tests/runtime
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
env: