Skip to content

Automate browser based workflows with AI

Show only failing tests' output in OSS CI logs (#8666)

Shuchang Zhenga6d352ae611b
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index ee37503b1..224fc072d 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -26,7 +26,7 @@ jobs:
POSTGRES_HOST_AUTH_METHOD: trust
# Set health checks to wait until postgres has started
options: >-
- --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
+ --health-cmd "pg_isready -U skyvern" --health-interval 10s --health-timeout 5s --health-retries 5
ports:
# Maps tcp port 5432 on service container to the host
- 5432:5432
@@ -108,7 +108,8 @@ jobs:
OPENAI_API_KEY: "sk-dummy"
AWS_ACCESS_KEY_ID: "dummy"
AWS_SECRET_ACCESS_KEY: "dummy"
- run: uv run pytest
+ # pytest.ini streams all test output (--capture=no) for local runs; CI prints output only for failing tests.
+ run: uv run pytest --capture=fd --disable-warnings
fe-lint-build:
name: Frontend Lint and Build
runs-on: ubuntu-latest