Skip to content

feat: add dip infra

feat: add dip infra #7

Workflow file for this run

name: Voyage
on:
push:
branches: [ master ]
pull_request:
branches: [ '**' ]
jobs:
lint:
name: Rubocop
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./voyage
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Ruby w/ same version as image
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.3"
- name: Install dependencies
run: |
gem install dip
dip provision
dip infra up
- name: Run linter
run: dip rubocop
test:
name: Rspec
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./voyage
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Ruby w/ same version as image
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.3"
- name: Install dependencies
run: |
gem install dip
dip provision
dip infra up
- name: Run tests
run: dip rspec --format RspecJunitFormatter --out test-results/rspec.xml --format documentation