budget/.gitea/workflows/test.yaml
Andrew Tomaka 804d074c0b
Some checks failed
Ruby CI / test (pull_request) Failing after 8s
Update packages before install
2024-03-20 21:12:22 -04:00

28 lines
567 B
YAML

name: Ruby CI
on:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Install Node
run: |
apt-get update
apt-get install nodejs
- uses: actions/checkout@v4
- name: Set up Ruby
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