Use GitHub Actions to upload Coveralls report
This commit is contained in:
parent
f7c7b56bd0
commit
434cc59ae8
4 changed files with 17 additions and 25 deletions
6
.github/workflows/ruby.yml
vendored
6
.github/workflows/ruby.yml
vendored
|
|
@ -50,6 +50,10 @@ jobs:
|
|||
- name: Run tests
|
||||
run: bundle exec rake rspec-rerun:spec
|
||||
env:
|
||||
COVERALLS: 1
|
||||
COVERAGE: lcov
|
||||
DATABASE_URL: mysql2://user:password@127.0.0.1/test
|
||||
RAILS_ENV: test
|
||||
- name: Upload coverage report to Coveralls
|
||||
uses: coverallsapp/github-action@v1.1.2
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue