Skip to content

Commit 928da86

Browse files
committed
Merge branch 'development' of https://github.com/benxu3/open-interpreter into development
2 parents 909e5af + 0d63af5 commit 928da86

File tree

12 files changed

+468
-493
lines changed

12 files changed

+468
-493
lines changed

.github/workflows/python-package.yml

+16-16
Original file line numberDiff line numberDiff line change
@@ -5,31 +5,31 @@ on:
55
branches: ["main", "development"]
66
pull_request:
77
branches: ["main", "development"]
8+
workflow_dispatch:
89

910
jobs:
10-
build:
11-
runs-on: ubuntu-latest
11+
test:
12+
name: Test on ${{ matrix.os }}
13+
runs-on: ${{ matrix.os }}
1214
strategy:
1315
fail-fast: true
1416
matrix:
15-
python-version: ["3.10", "3.12"]
17+
os: [ubuntu-latest, macos-latest] # figure out windows-latest later
1618

1719
steps:
18-
- uses: actions/checkout@v3
19-
- name: Set up Python ${{ matrix.python-version }}
20-
uses: actions/setup-python@v3
20+
- uses: actions/checkout@v4
2121
with:
22-
python-version: ${{ matrix.python-version }}
23-
- name: Install poetry
24-
run: |
25-
curl -sSL https://install.python-poetry.org | python3 -
26-
- name: Install dependencies
22+
fetch-depth: 0
23+
24+
- name: Install Open Interpreter
25+
shell: bash
2726
run: |
28-
# Ensure dependencies are installed without relying on a lock file.
29-
poetry update
30-
poetry install -E server
31-
- name: Test with pytest
27+
curl https://raw.githubusercontent.com/OpenInterpreter/open-interpreter/refs/heads/development/installers/new-installer.sh | sh
28+
29+
- name: Run tests
30+
shell: bash
3231
run: |
33-
poetry run pytest -s -x -k test_
32+
interpreter run tests/ -v --color=yes
3433
env:
3534
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
35+
PYTHONUNBUFFERED: "1"

0 commit comments

Comments
 (0)