puppet-nslcd/.circleci/config.yml

32 lines
511 B
YAML
Raw Normal View History

2021-11-06 12:11:44 -04:00
version: 2.1
2021-11-07 05:52:46 -05:00
orbs:
ruby: circleci/ruby@1.1.0
node: circleci/node@2
2021-11-06 12:11:44 -04:00
jobs:
2021-11-07 05:52:46 -05:00
build:
2021-11-06 12:11:44 -04:00
docker:
2021-11-07 05:52:46 -05:00
- image: cimg/ruby:2.7-node
steps:
- checkout
test:
docker:
- image: cimg/ruby:2.7-node
environment:
BUNDLE_RETRY: "3"
RAILS_ENV: test
2021-11-06 12:11:44 -04:00
steps:
- checkout
- run:
2021-11-07 05:52:46 -05:00
name: test
command: bundle exec rake validate lint
2021-11-06 12:11:44 -04:00
workflows:
2021-11-07 05:52:46 -05:00
version: 2
build_and_test:
2021-11-06 12:11:44 -04:00
jobs:
2021-11-07 05:52:46 -05:00
- build
- test:
requires:
- build