Implement the following plan: Add GitHub Actions CI Context OpenFang now has a test…
Jump to turn (9)
- 1Implement the following plan: Add GitHub Actions CI Context OpenFang now has a t
- 2commit this
- 3commit the tests too
- 4why, arent these tests needed? make sure we have all the OpenFang now has a test
- 5commit
- 6storage/test.db to gitignore?
- 7commit
- 8are we testing the real time updates/sse?
- 9[Request interrupted by user for tool use]
- User
Implement the following plan:
Add GitHub Actions CI
Context
OpenFang now has a test suite (169 Ruby tests + 24 Python tests) but no CI pipeline. Adding a GitHub Actions workflow ensures tests run on every push and PR.
Plan
Create
.github/workflows/ci.ymlSingle workflow file with two parallel jobs:
Ruby tests job:
- Ubuntu latest
- Ruby 3.3 (matches Gemfile
~> 3.3— use stable 3.3 rather than bleeding-edge 3.4 which has bundled gem issues) ruby/setup-rubywithbundler-cache: truefor dependency cachingrake test
Python tests job:
- Ubuntu latest
- Python 3.12 (stable)
pip install pytestpython3 -m pytest test/python/ -v
Triggers: push to
master, PRs targeting