budget/.gitea/workflows/test.yaml

22 lines
402 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 19:38:45 -04:00
image: ruby:3.2.0
2024-03-20 19:19:20 -04:00
runs-on: ubuntu-latest
2024-03-20 18:50:43 -04:00
steps:
- uses: actions/checkout@v4
- 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