.github/workflows/ruby.yml in aws_secrets_loader-0.2.2 vs .github/workflows/ruby.yml in aws_secrets_loader-0.2.3
- old
+ new
@@ -29,7 +29,16 @@
ruby-version: 2.6
- name: Install dependencies
run: bundle install
- name: Run Lint
run: bundle exec rubocop --parallel
+ - name: Setup Code Climate test-reporter
+ run: |
+ curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
+ chmod +x ./cc-test-reporter
+ ./cc-test-reporter before-build
- name: Run tests
- run: bundle exec rake
+ run: bundle exec rspec
+ - name: Publish code coverage
+ run: |
+ export GIT_BRANCH="${GITHUB_REF/refs\/heads\//}"
+ ./cc-test-reporter after-build -r ${{secrets.CC_TEST_REPORTER_ID}}