Skip to content

Commit

Permalink
[ISSUE-68] Fix github ci for cross-repos
Browse files Browse the repository at this point in the history
  • Loading branch information
jlurena committed Jul 9, 2024
1 parent b9c953b commit 3553313
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,12 @@

name: Code Coverage

on: [push, workflow_dispatch, pull_request]
on: [pull_request]

permissions:
contents: read

jobs:
test:
permissions:
checks: write
contents: write
runs-on: ubuntu-20.04
strategy:
matrix:
Expand All @@ -34,11 +30,5 @@ jobs:
DEBUG: true
- name: Run tests
run: bundle exec rake
- name: Code Coverage
uses: joshmfrankel/simplecov-check-action@main
with:
check_job_name: Code Coverage
github_token: ${{ secrets.GITHUB_TOKEN }}
minimum_suite_coverage: 100
- name: Lint
uses: standardrb/standard-ruby-action@v1
2 changes: 1 addition & 1 deletion cached_resource.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ Gem::Specification.new do |s|
s.add_development_dependency "rake"
s.add_development_dependency "rspec"
s.add_development_dependency "simplecov", "~> 0.22.0"
s.add_development_dependency "timecop", "~> 0.9.10"
s.add_development_dependency "standard", "~> 1.39", ">= 1.39.1"
s.add_development_dependency "timecop", "~> 0.9.10"
end
1 change: 1 addition & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
require "simplecov"

SimpleCov.start do
add_filter "/spec/"
add_group "Lib", "lib/"
Expand Down

0 comments on commit 3553313

Please sign in to comment.