File tree 5 files changed +39
-25
lines changed
5 files changed +39
-25
lines changed Original file line number Diff line number Diff line change
1
+ name : Tests
2
+ on : [push, pull_request]
3
+ jobs :
4
+ test :
5
+ strategy :
6
+ fail-fast : false
7
+ matrix :
8
+ os : [ubuntu-latest]
9
+ ruby : [2.6, 2.7, '3.0']
10
+ runs-on : ${{ matrix.os }}
11
+ env :
12
+ TWITTER_CONSUMER_KEY : ${{ secrets.TWITTER_CONSUMER_KEY }}
13
+ TWITTER_CONSUMER_SECRET : ${{ secrets.TWITTER_CONSUMER_SECRET }}
14
+ TWITTER_ACCESS_TOKEN : ${{ secrets.TWITTER_ACCESS_TOKEN }}
15
+ TWITTER_ACCESS_TOKEN_SECRET : ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}
16
+ CC_TEST_REPORTER_ID : ${{ secrets.CC_TEST_REPORTER_ID }}
17
+ steps :
18
+ - if : matrix.os == 'ubuntu-latest'
19
+ run : sudo apt-get install -y fortune
20
+ - uses : actions/checkout@v2
21
+ - uses : ruby/setup-ruby@v1
22
+ with :
23
+ ruby-version : ${{ matrix.ruby }}
24
+ bundler-cache : true
25
+ - run : bundle exec rake
26
+ - if : matrix.os == 'ubuntu-latest' && matrix.ruby == '3.0'
27
+ run : |
28
+ curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
29
+ chmod +x ./cc-test-reporter
30
+ ./cc-test-reporter after-build
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ gem 'rake'
9
9
10
10
# Testing
11
11
gem 'rspec' , '~>3.0'
12
- gem 'simplecov'
12
+ gem 'simplecov' , '< 0.18'
13
13
gem 'vcr'
14
14
gem 'webmock'
15
15
Original file line number Diff line number Diff line change 24
24
crack (0.4.5 )
25
25
rexml
26
26
diff-lcs (1.4.4 )
27
- docile (1.3.5 )
27
+ docile (1.4.0 )
28
28
domain_name (0.5.20190701 )
29
29
unf (>= 0.0.5 , < 1.0.0 )
30
30
e2mmap (0.1.0 )
46
46
ffi-compiler (>= 1.0 , < 2.0 )
47
47
http_parser.rb (0.6.0 )
48
48
jaro_winkler (1.5.4 )
49
+ json (2.6.1 )
49
50
kramdown (2.3.1 )
50
51
rexml
51
52
kramdown-parser-gfm (1.1.0 )
@@ -113,12 +114,11 @@ GEM
113
114
rubocop-ast (>= 0.7.1 )
114
115
ruby-progressbar (1.11.0 )
115
116
simple_oauth (0.3.1 )
116
- simplecov (0.21.2 )
117
+ simplecov (0.17.1 )
117
118
docile (~> 1.1 )
118
- simplecov-html (~> 0.11 )
119
- simplecov_json_formatter (~> 0.1 )
120
- simplecov-html (0.12.3 )
121
- simplecov_json_formatter (0.1.2 )
119
+ json (>= 1.8 , < 3 )
120
+ simplecov-html (~> 0.10.0 )
121
+ simplecov-html (0.10.2 )
122
122
solargraph (0.40.2 )
123
123
backport (~> 1.1 )
124
124
benchmark
@@ -174,7 +174,7 @@ DEPENDENCIES
174
174
rubocop (= 0.92 )
175
175
rubocop-rake
176
176
rubocop-rspec
177
- simplecov
177
+ simplecov ( < 0.18 )
178
178
solargraph
179
179
vcr
180
180
webmock
Original file line number Diff line number Diff line change 2
2
3
3
[ ![ Maintainability] ( https://api.codeclimate.com/v1/badges/73443845cac0dadff540/maintainability )] ( https://codeclimate.com/github/claytron/augury/maintainability )
4
4
[ ![ Test Coverage] ( https://api.codeclimate.com/v1/badges/73443845cac0dadff540/test_coverage )] ( https://codeclimate.com/github/claytron/augury/test_coverage )
5
- [ ![ Tests] ( https://travis-ci .com/claytron/augury.svg?branch=master )] ( https://travis- ci.com/github/claytron/augury )
5
+ ![ Tests] ( https://github .com/claytron/augury/actions/workflows/ ci.yml/badge.svg )
6
6
7
7
Have you ever wanted to turn a twitter account into a fortune file?
8
8
Well, today is your lucky day!
You can’t perform that action at this time.
0 commit comments