budget/.gitea/workflows/test.yaml
Andrew Tomaka 5054a28ed8
Some checks failed
Ruby CI / test (pull_request) Failing after 11s
( ͡° ͜ʖ ͡°)
2024-03-20 19:38:45 -04:00

25 lines
503 B
YAML

name: Ruby CI
on:
pull_request:
jobs:
test:
image: ruby:3.2.0
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Ruby 3.2.0
uses: ruby/setup-ruby@v1
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