Try out gitea actions
This commit is contained in:
parent
329f6537e7
commit
87b5350f1f
2 changed files with 25 additions and 86 deletions
25
.gitea/workflows/test.yaml
Normal file
25
.gitea/workflows/test.yaml
Normal file
|
@ -0,0 +1,25 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue