GitHub Actions: Use single line where available

This commit is contained in:
Sebastian Serth
2020-12-07 19:23:06 +01:00
parent 8e87f44c8c
commit d491a6a30f

View File

@ -72,14 +72,12 @@ jobs:
- name: Create database - name: Create database
env: env:
RAILS_ENV: test RAILS_ENV: test
run: | run: bundler exec rake db:schema:load RAILS_ENV=test
bundler exec rake db:schema:load RAILS_ENV=test
- name: Run tests - name: Run tests
env: env:
RAILS_ENV: test RAILS_ENV: test
CC_TEST_REPORTER_ID: true CC_TEST_REPORTER_ID: true
run: | run: bundle exec rspec --color --format progress --require spec_helper --require rails_helper
bundle exec rspec --color --format progress --require spec_helper --require rails_helper
- name: Send coverage to CodeClimate - name: Send coverage to CodeClimate
uses: paambaati/codeclimate-action@v2.7.4 uses: paambaati/codeclimate-action@v2.7.4