14
14
apt-get update
15
15
apt-get install -y cmake openssl libssl-dev
16
16
echo "3.8.7" > .puppet_version
17
- bundle install --binstubs --jobs 4 --retry 3 --without='' --no-prune --path vendor/bundle --local
17
+ bundle install --binstubs --jobs 4 --retry 3
18
18
- name : rspec
19
- run : bundle exec rake spec
19
+ run : |
20
+ bundle exec rspec spec/octocatalog-diff/tests
21
+ bundle exec rspec spec/octocatalog-diff/integration
20
22
container :
21
23
image : ruby:${{matrix.ruby-version}}
22
24
env :
35
37
apt-get update
36
38
apt-get install -y cmake openssl libssl-dev
37
39
echo "4.10.10" > .puppet_version
38
- bundle install --binstubs --jobs 4 --retry 3 --without='' --no-prune --path vendor/bundle --local
40
+ bundle install --binstubs --jobs 4 --retry 3
39
41
- name : spec
40
- run : bundle exec rake spec
42
+ run : |
43
+ bundle exec rspec spec/octocatalog-diff/tests
44
+ bundle exec rspec spec/octocatalog-diff/integration
41
45
container :
42
46
image : ruby:${{matrix.ruby-version}}
43
47
env :
56
60
apt-get update
57
61
apt-get install -y cmake openssl libssl-dev
58
62
echo "5.5.8" > .puppet_version
59
- bundle install --binstubs --jobs 4 --retry 3 --without='' --no-prune --path vendor/bundle --local
63
+ bundle install --binstubs --jobs 4 --retry 3
60
64
- name : rspec
61
- run : bundle exec rake spec
65
+ run : |
66
+ bundle exec rspec spec/octocatalog-diff/tests
67
+ bundle exec rspec spec/octocatalog-diff/integration
62
68
container :
63
69
image : ruby:${{matrix.ruby-version}}
64
70
env :
74
80
apt-get update
75
81
apt-get install -y cmake openssl libssl-dev
76
82
echo "5.5.8" > .puppet_version
77
- bundle install --binstubs --jobs 4 --retry 3 --without='' --no-prune --path vendor/bundle --local
83
+ bundle install --binstubs --jobs 4 --retry 3
78
84
- name : rubocop
79
85
run : bundle exec rake rubocop
80
86
container :
@@ -92,12 +98,13 @@ jobs:
92
98
apt-get update
93
99
apt-get install -y cmake openssl libssl-dev
94
100
echo "5.5.8" > .puppet_version
95
- bundle install --binstubs --jobs 4 --retry 3 --without='' --no-prune --path vendor/bundle --local
101
+ bundle install --binstubs --jobs 4 --retry 3
96
102
- name : rubocop
97
103
run : |
98
- bundle exec rake coverage:all
104
+ bundle exec rspec spec/octocatalog-diff/tests
99
105
grep -q "100% test coverage. You're all set, friend" coverage/coverage.txt
100
106
container :
101
107
image : " ruby:2.6"
102
108
env :
103
109
PUPPET_VERSION : " 5.5.8"
110
+ COVERAGE : true
0 commit comments