Skip to content
Open
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
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: pip install pytest
- run: python -m pytest tests/ -v --tb=short 2>&1 || true
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 || true causes CI to always pass, even when tests fail

The pytest step uses || true which forces the exit code to 0 regardless of test results. This means the CI job will always report success even when tests fail (or when tests/ doesn't exist — which is currently the case). This completely defeats the purpose of CI as a quality gate, since failing tests will never block a merge.

Suggested change
- run: python -m pytest tests/ -v --tb=short 2>&1 || true
- run: python -m pytest tests/ -v --tb=short
Staging: Open in Devin

Was this helpful? React with 👍 or 👎 to provide feedback.

Debug

Playground

Loading