Run the test suite in Forgejo Actions #16
Loading…
Reference in a new issue
No description provided.
Delete branch "armin-bot/impress:claude/ci-tests"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Runs the test suite in Forgejo Actions on every pull request, and on every push to
main. It uses the runner set up in OpenNeo/openneo-code#1.What the workflow does
.forgejo/workflows/test.yml, one job on thedockerrunner label:ruby:3.4.5-bookwormcontainer, with amariadb:10.11service container (empty root password, reached asmariadbthroughDB_HOST/DB_USER, whichconfig/database.ymlalready reads).github.shawith plain git.actions/checkoutneeds Node, which this image doesn't have, and fetching by SHA works for fork PRs too.libvips42, because some specs process images with ruby-vips.yarn install --immutableandyarn build. Request specs render the full layout, so they need the built JS: without it, 15 specs inrate_limits_spec.rbfail. Dev environments hide this because they already have built bundles.bundle install --localfromvendor/cachewithfrozenon, so it never touches rubygems.org and fails ifGemfile.lockis out of date.bin/rails db:create db:schema:load(both databases), thenbundle exec rspec.Security
main.ports:. Docker-published ports bypass the runner host's firewall, which would expose the passwordless MariaDB.Testing
main, with fresh gem installs: 406 examples, 0 failures (2 pending). A review also ran the suite withCI=true, which turns on eager loading: same result.🤖 Generated with Claude Code
https://claude.ai/code/session_014PWWczf6WkuBDdUASWtRcZ
227b04bfd8c66c7c2701