Skip to content

Commit 29d3c7e

Browse files
authored
¯\_(ツ)_/¯
1 parent 2d1619c commit 29d3c7e

File tree

1 file changed

+16
-9
lines changed

1 file changed

+16
-9
lines changed

.github/workflows/main.yml

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@ jobs:
1414
apt-get update
1515
apt-get install -y cmake openssl libssl-dev
1616
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
1818
- 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
2022
container:
2123
image: ruby:${{matrix.ruby-version}}
2224
env:
@@ -35,9 +37,11 @@ jobs:
3537
apt-get update
3638
apt-get install -y cmake openssl libssl-dev
3739
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
3941
- 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
4145
container:
4246
image: ruby:${{matrix.ruby-version}}
4347
env:
@@ -56,9 +60,11 @@ jobs:
5660
apt-get update
5761
apt-get install -y cmake openssl libssl-dev
5862
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
6064
- 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
6268
container:
6369
image: ruby:${{matrix.ruby-version}}
6470
env:
@@ -74,7 +80,7 @@ jobs:
7480
apt-get update
7581
apt-get install -y cmake openssl libssl-dev
7682
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
7884
- name: rubocop
7985
run: bundle exec rake rubocop
8086
container:
@@ -92,12 +98,13 @@ jobs:
9298
apt-get update
9399
apt-get install -y cmake openssl libssl-dev
94100
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
96102
- name: rubocop
97103
run: |
98-
bundle exec rake coverage:all
104+
bundle exec rspec spec/octocatalog-diff/tests
99105
grep -q "100% test coverage. You're all set, friend" coverage/coverage.txt
100106
container:
101107
image: "ruby:2.6"
102108
env:
103109
PUPPET_VERSION: "5.5.8"
110+
COVERAGE: true

0 commit comments

Comments
 (0)