budget/.gitea/workflows/test.yaml

25 lines
501 B
YAML

name: Ruby CI
on:
pull_request:
jobs:
test:
steps:
- uses: actions/checkout@v4
- name: Set up Ruby 3.2.0
uses: ruby/setup-ruby
with:
ruby-version: 3.2.0
- name: Install dependencies
run: bundle install
- name: Run tests
run: bundle exec rake
- name: autoload
run: bin/rails zeitwerk:check
- name: lint
run: bin/bundle exec standardrb
- name: test
run: |
bin/rails assets:precompile
bin/rails test