First pass at a drone file
Some checks failed
continuous-integration/drone Build is failing

This commit is contained in:
Andrew Tomaka 2023-03-07 22:20:44 -05:00
parent 91e2a5f4ff
commit 8da07b47b5
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE

40
.drone.yml Normal file
View 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: {}