build individually

This commit is contained in:
Jamie Macey 2020-10-12 13:26:31 -07:00
parent e419635209
commit eb14eba7eb

View File

@ -31,6 +31,27 @@ jobs:
key: ${{ runner.os }}-deps-${{ hashFiles('**/Gemfile.lock', '**/yarn.lock') }} key: ${{ runner.os }}-deps-${{ hashFiles('**/Gemfile.lock', '**/yarn.lock') }}
- name: Install dependencies - name: Install dependencies
run: ./ci/build.sh run: |
- name: Run tests bundle install
run: ./ci/test.sh cd rswag-ui && npm install
- name: rswag-api
run: |
cd rswag-api
bundle exec rspec
- name: rswag-specs
run: |
cd rswag-specs
bundle exec rspec
- name: rswag-ui
run: |
cd rswag-ui
bundle exec rspec
- name: test-app
run: |
cd test-app
bundle exec rake db:migrate db:test:prepare
bundle exec rspec