Add files via upload #239
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: RSpec Tests | |
on: | |
push: | |
branches: | |
- '*' | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
rspec: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.2.2 | |
- name: Set up Node.js 16 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 16 | |
- name: Bundle install | |
run: | | |
cd backend-webapp/DBS-backend | |
gem install bundler | |
bundle install | |
- name: Run RSpec tests | |
run: | | |
cd backend_cloudSQL_latest | |
bundle exec rspec spec/models/dispute_spec.rb spec/models/paynow_spec.rb |