Skip to content

Commit c0ffc1e

Browse files
committed
Fix smoketest working directory
1 parent 81d97ff commit c0ffc1e

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/smoketests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,9 @@ on:
1212
- prod
1313

1414
jobs:
15-
smoke:
15+
smoketests:
1616
runs-on: ubuntu-latest
1717
timeout-minutes: 120
18-
defaults:
19-
run:
20-
working-directory: api-client-python
2118
steps:
2219
- name: Checkout
2320
uses: actions/checkout@v4
@@ -27,6 +24,9 @@ jobs:
2724
with:
2825
python-version: "3.11"
2926

27+
- name: Create virtualenv
28+
run: uv venv
29+
3030
- name: Install dependencies
3131
run: |
3232
uv pip install -r requirements-dev.lock
@@ -45,7 +45,7 @@ jobs:
4545
fi
4646
echo "DEBUG=false" >> $GITHUB_ENV
4747
echo "RUN_SMOKETESTS=1" >> $GITHUB_ENV
48-
echo "PYTHONPATH=${{ github.workspace }}/api-client-python/src" >> $GITHUB_ENV
48+
echo "PYTHONPATH=${{ github.workspace }}/src" >> $GITHUB_ENV
4949
5050
- name: Run smoke tests (pytest via uv)
5151
env:

tests/smoketests/test_devboxes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def test_shutdown_devbox() -> None:
5353
assert view.status == "shutdown"
5454

5555

56-
@pytest.mark.timeout(30)
56+
@pytest.mark.timeout(90)
5757
def test_create_and_await_running_long_set_up() -> None:
5858
created = client.devboxes.create_and_await_running(
5959
name=unique_name("smoketest-devbox-await-running-long-set-up"),

0 commit comments

Comments
 (0)