Skip to content

Commit

Permalink
Install gem dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
magaupp committed Jan 29, 2025
1 parent c6babde commit 0cc2193
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/resources/templates/aeolus/ruby/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ metadata:
name: "Ruby"
id: ruby
actions:
- name: install_dependencies
script: |-
cd "${testWorkingDirectory}"
bundler install
- name: test
script: |-
cd "${testWorkingDirectory}"
Expand Down
4 changes: 4 additions & 0 deletions src/main/resources/templates/aeolus/ruby/default_static.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ metadata:
name: "Ruby Static Code Analysis"
id: ruby_static
actions:
- name: install_dependencies
script: |-
cd "${testWorkingDirectory}"
bundler install
- name: static_code_analysis
script: |-
cd "${testWorkingDirectory}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ private void runTestSteps() {
* Run unit tests
*/
private void test() {
stage('Install Dependencies') {
sh '''
cd tests
bundler install
'''
}
stage('Test') {
sh '''
cd tests
Expand Down

0 comments on commit 0cc2193

Please sign in to comment.