Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/fal-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@ jobs:
e2e:
name: e2e (${{ matrix.os }}, py ${{ matrix.python }}, ${{ matrix.deps }})
runs-on: ${{ matrix.os }}
timeout-minutes: 10
timeout-minutes: 15
strategy:
fail-fast: false
max-parallel: 2
matrix:
os: [ubuntu-latest]
deps: ["pydantic==1.10.18", "pydantic==2.13.3"]
Expand Down Expand Up @@ -74,4 +75,4 @@ jobs:
FAL_GRPC_HOST: api.alpha.fal.ai
FAL_REST_HOST: rest.fal.ai
FAL_RUN_HOST: fal.run
run: pytest -n auto -v projects/fal/tests/e2e
run: pytest -n auto --dist loadgroup --timeout=120 -v projects/fal/tests/e2e
5 changes: 3 additions & 2 deletions .github/workflows/fal-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@ jobs:
integration:
name: integration (${{ matrix.os }}, py ${{ matrix.python }}, ${{ matrix.deps }})
runs-on: ${{ matrix.os }}
timeout-minutes: 10
timeout-minutes: 15
strategy:
fail-fast: false
max-parallel: 4
matrix:
os: [ubuntu-latest]
deps: ["pydantic==1.10.18", "pydantic==2.13.3"]
Expand Down Expand Up @@ -71,4 +72,4 @@ jobs:
FAL_GRPC_HOST: api.alpha.fal.ai
FAL_REST_HOST: rest.fal.ai
FAL_RUN_HOST: fal.run
run: pytest -n auto -v projects/fal/tests/integration
run: pytest -n auto --dist loadgroup --timeout=120 -v projects/fal/tests/integration
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
[![Tests](https://img.shields.io/github/actions/workflow/status/fal-ai/fal/fal-unit-tests.yml?label=Tests)](https://github.com/fal-ai/fal/actions)

# fal

fal is a serverless Python runtime that lets you run and scale code in the cloud with no infra management.

With fal, you can build pipelines, serve ML models and scale them up to many users. You scale down to 0 when you don't use any resources.
Expand Down
9 changes: 7 additions & 2 deletions projects/fal/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,15 @@

@pytest.fixture(scope="function")
def isolated_client():
return partial(function, machine_type="XS", keep_alive=0)
return partial(
function,
machine_type="XS",
keep_alive=0,
startup_timeout=180,
)


@pytest.fixture(scope="function")
@pytest.fixture(scope="module")
def make_tmp_app_name() -> Callable[[str], str]:
def _make_tmp_app_name(prefix: str = "test") -> str:
short_id = uuid.uuid4().hex[:8]
Expand Down
Loading
Loading