This commit is contained in:
parent
91e2a5f4ff
commit
8da07b47b5
1 changed files with 40 additions and 0 deletions
40
.drone.yml
Normal file
40
.drone.yml
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
name: default
|
||||||
|
kind: pipeline
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: install
|
||||||
|
image: ruby:3.2.0
|
||||||
|
volumes:
|
||||||
|
- name: bundle
|
||||||
|
path: /usr/local/bundle
|
||||||
|
commands:
|
||||||
|
- bin/bundle install --jobs=3 --retry=3
|
||||||
|
|
||||||
|
- name: test
|
||||||
|
image: ruby:3.2.0
|
||||||
|
volumes:
|
||||||
|
- name: bundle
|
||||||
|
path: /usr/local/bundle
|
||||||
|
commands:
|
||||||
|
- bin/rails test
|
||||||
|
|
||||||
|
- name: autoload
|
||||||
|
image: ruby:3.2.0
|
||||||
|
volumes:
|
||||||
|
- name: bundle
|
||||||
|
path: /usr/local/bundle
|
||||||
|
commands:
|
||||||
|
- bin/rails zeitwerk:check
|
||||||
|
|
||||||
|
- name: lint
|
||||||
|
image: ruby:3.2.0
|
||||||
|
volumes:
|
||||||
|
- name: bundle
|
||||||
|
path: /usr/local/bundle
|
||||||
|
commands:
|
||||||
|
- bin/bundle exec standardrb
|
||||||
|
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: bundle
|
||||||
|
temp: {}
|
Loading…
Reference in a new issue