Skip to content

Commit

Permalink
ci: Don't install java and iproute unnecessarily
Browse files Browse the repository at this point in the history
Signed-off-by: Ferenc Géczi <ferenc.geczi@ibm.com>
  • Loading branch information
Ferenc- committed Jun 21, 2024
1 parent b5aad1b commit 1eb9a6d
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,17 +187,14 @@ executors:
docker:
- image: cimg/ruby:3.3-node
commands:
setup:
steps:
setup_iproute2:
- run:
name: Install iproute2
command: |
sudo apt-get update
sudo apt-get install iproute2
- run:
name: Install Java
command: |
sudo apt-get install openjdk-11-jdk
setup:
steps:
- run:
name: Update RubyGems
command: |
Expand Down Expand Up @@ -239,7 +236,7 @@ commands:
environment:
BUNDLE_GEMFILE: './Gemfile'
- run:
name: Run SonarQube to capture coverage
name: Run SonarQube to report the coverage
command: |
wget -O /tmp/sonar-scanner-cli.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.8.1.3023.zip
unzip -d /tmp /tmp/sonar-scanner-cli.zip
Expand Down Expand Up @@ -298,6 +295,7 @@ jobs:
executor: << parameters.stack >>
steps:
- checkout
- setup_iproute2
- setup
- run_tests
test_apprisal:
Expand Down

0 comments on commit 1eb9a6d

Please sign in to comment.