From eb14eba7eb0c314cbc1144acdd36f5fef3620667 Mon Sep 17 00:00:00 2001 From: Jamie Macey Date: Mon, 12 Oct 2020 13:26:31 -0700 Subject: [PATCH] build individually --- .github/workflows/ruby.yml | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index e782f18..03a5c62 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -31,6 +31,27 @@ jobs: key: ${{ runner.os }}-deps-${{ hashFiles('**/Gemfile.lock', '**/yarn.lock') }} - name: Install dependencies - run: ./ci/build.sh - - name: Run tests - run: ./ci/test.sh + run: | + bundle install + 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