Skip to content

Commit 0a17de0

Browse files
committed
spec and integration targets should build jar first
1 parent fd219d3 commit 0a17de0

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,5 @@ jobs:
5151
- name: Install dependencies
5252
run: bundle install
5353

54-
- name: Build
55-
run: bundle exec rake build
56-
5754
- name: Run tests
5855
run: bundle exec rake ${{ matrix.task }}

Rakefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ RSpec::Core::RakeTask.new(:spec) do |t|
1717
t.rspec_opts = ['--color', "--format documentation"]
1818
end
1919

20+
task :spec => :jar
21+
2022
task :default => :spec
2123

2224
# use Mavenfile to define :jar task
@@ -36,7 +38,7 @@ task :jar do
3638
end
3739

3840
desc 'run some integration test'
39-
task :integration do
41+
task :integration => :jar do
4042
success = mvn.verify
4143
exit(1) unless success
4244
end

0 commit comments

Comments
 (0)