-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feature/strict-mypy-checks
- Loading branch information
Showing
341 changed files
with
14,887 additions
and
6,990 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,20 +41,6 @@ jobs: | |
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Free Disk Space (Ubuntu) | ||
uses: jlumbroso/free-disk-space@main | ||
with: | ||
# this might remove tools that are actually needed, | ||
# if set to "true" but frees about 6 GB | ||
tool-cache: true | ||
# all of these default to true, but feel free to set to | ||
# "false" if necessary for your workflow | ||
android: true | ||
dotnet: true | ||
haskell: true | ||
large-packages: true | ||
docker-images: false | ||
swap-storage: true | ||
- name: Set up QEMU | ||
uses: docker/[email protected] | ||
with: | ||
|
@@ -104,20 +90,6 @@ jobs: | |
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Free Disk Space (Ubuntu) | ||
uses: jlumbroso/free-disk-space@main | ||
with: | ||
# this might remove tools that are actually needed, | ||
# if set to "true" but frees about 6 GB | ||
tool-cache: true | ||
# all of these default to true, but feel free to set to | ||
# "false" if necessary for your workflow | ||
android: true | ||
dotnet: true | ||
haskell: true | ||
large-packages: true | ||
docker-images: false | ||
swap-storage: true | ||
- name: Set up QEMU | ||
uses: docker/[email protected] | ||
with: | ||
|
@@ -219,7 +191,7 @@ jobs: | |
exit 1 | ||
fi | ||
# Run unit tests with the EventStream runtime Docker images as root | ||
# Run unit tests with the Docker runtime Docker images as root | ||
test_runtime_root: | ||
name: RT Unit Tests (Root) | ||
needs: [ghcr_build_runtime] | ||
|
@@ -230,20 +202,6 @@ jobs: | |
base_image: ['nikolaik'] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Free Disk Space (Ubuntu) | ||
uses: jlumbroso/free-disk-space@main | ||
with: | ||
# this might remove tools that are actually needed, | ||
# if set to "true" but frees about 6 GB | ||
tool-cache: true | ||
# all of these default to true, but feel free to set to | ||
# "false" if necessary for your workflow | ||
android: true | ||
dotnet: true | ||
haskell: true | ||
large-packages: true | ||
docker-images: false | ||
swap-storage: true | ||
- name: Set up Docker Buildx | ||
id: buildx | ||
uses: docker/setup-buildx-action@v3 | ||
|
@@ -275,7 +233,7 @@ jobs: | |
run: pipx install poetry | ||
- name: Install Python dependencies using Poetry | ||
run: make install-python-dependencies | ||
- name: Run runtime tests | ||
- name: Run docker runtime tests | ||
run: | | ||
# We install pytest-xdist in order to run tests across CPUs | ||
poetry run pip install pytest-xdist | ||
|
@@ -286,7 +244,7 @@ jobs: | |
image_name=ghcr.io/${{ github.repository_owner }}/runtime:${{ env.RELEVANT_SHA }}-${{ matrix.base_image }} | ||
image_name=$(echo $image_name | tr '[:upper:]' '[:lower:]') | ||
TEST_RUNTIME=eventstream \ | ||
TEST_RUNTIME=docker \ | ||
SANDBOX_USER_ID=$(id -u) \ | ||
SANDBOX_RUNTIME_CONTAINER_IMAGE=$image_name \ | ||
TEST_IN_CI=true \ | ||
|
@@ -297,7 +255,7 @@ jobs: | |
env: | ||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | ||
|
||
# Run unit tests with the EventStream runtime Docker images as openhands user | ||
# Run unit tests with the Docker runtime Docker images as openhands user | ||
test_runtime_oh: | ||
name: RT Unit Tests (openhands) | ||
runs-on: ubuntu-latest | ||
|
@@ -307,20 +265,6 @@ jobs: | |
base_image: ['nikolaik'] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Free Disk Space (Ubuntu) | ||
uses: jlumbroso/free-disk-space@main | ||
with: | ||
# this might remove tools that are actually needed, | ||
# if set to "true" but frees about 6 GB | ||
tool-cache: true | ||
# all of these default to true, but feel free to set to | ||
# "false" if necessary for your workflow | ||
android: true | ||
dotnet: true | ||
haskell: true | ||
large-packages: true | ||
docker-images: false | ||
swap-storage: true | ||
- name: Set up Docker Buildx | ||
id: buildx | ||
uses: docker/setup-buildx-action@v3 | ||
|
@@ -363,7 +307,7 @@ jobs: | |
image_name=ghcr.io/${{ github.repository_owner }}/runtime:${{ env.RELEVANT_SHA }}-${{ matrix.base_image }} | ||
image_name=$(echo $image_name | tr '[:upper:]' '[:lower:]') | ||
TEST_RUNTIME=eventstream \ | ||
TEST_RUNTIME=docker \ | ||
SANDBOX_USER_ID=$(id -u) \ | ||
SANDBOX_RUNTIME_CONTAINER_IMAGE=$image_name \ | ||
TEST_IN_CI=true \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.