Move docker-compose.yml to root dir #7
Workflow file for this run
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 | |
on: | |
- push | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run tests | |
run: | | |
docker-compose up -d | |
docker exec gem_test_runner bash -c "cd gem_src && bundle install && bundle exec rspec && exit" | |
- name: Code Coverage | |
uses: paambaati/codeclimate-action@v3.2.0 | |
env: | |
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} | |
with: | |
debug: true | |
verifyDownload: true | |
coverageLocations: | | |
${{github.workspace}}/coverage/.resultset.json:simplecov |