Skip to content

Commit

Permalink
Change CI workflow to remove coveralls action and use token instead
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrmurach committed Nov 24, 2020
1 parent 201d4b7 commit 75af910
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/ci.yml
Expand Up @@ -41,6 +41,7 @@ jobs:
coverage: true
env:
COVERAGE: ${{ matrix.coverage }}
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
continue-on-error: ${{ endsWith(matrix.ruby, 'head') }}
steps:
- uses: actions/checkout@v2
Expand All @@ -54,7 +55,3 @@ jobs:
run: bundle install --jobs 4 --retry 3
- name: Run tests
run: bundle exec rake ci
- name: Send coverage to Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true

if ENV["COVERAGE"]
if ENV["COVERAGE"] == "true"
require "simplecov"
require "coveralls"

Expand Down

0 comments on commit 75af910

Please sign in to comment.