budget/.gitea/workflows/test.yaml

25 lines
471 B
YAML
Raw Normal View History

2024-03-20 18:50:43 -04:00
name: Ruby CI
on:
pull_request:
jobs:
test:
2024-03-20 18:55:06 -04:00
runs-on: all
2024-03-20 18:50:43 -04:00
steps:
- uses: actions/checkout@v4
- name: Set up Ruby 3.2.0
2024-03-20 18:56:55 -04:00
uses: ruby/setup-ruby@v1
2024-03-20 18:50:43 -04:00
with:
ruby-version: 3.2.0
- name: Install dependencies
run: bundle install
- name: autoload
run: bin/rails zeitwerk:check
- name: lint
run: bin/bundle exec standardrb
- name: test
run: |
bin/rails assets:precompile
bin/rails test