Skip to content

Commit

Permalink
fix: integration test command (RUN-499) (#320)
Browse files Browse the repository at this point in the history
  • Loading branch information
DecathectZero authored Dec 25, 2024
1 parent 9300558 commit ce7134a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/commands/monorepo/monorepo_integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,14 @@ parameters:
description: Force execution of the command on all packages
type: boolean
default: false
command:
description: Command to run
type: string
default: yarn test:integration
steps:
- monorepo_exec_command:
step_name: << parameters.step_name >>
command: yarn test:integration
command: << parameters.command >>
extra_args: << parameters.extra_args >>
run_on_root: << parameters.run_on_root >>
force_execution: << parameters.force_execution >>
15 changes: 15 additions & 0 deletions src/jobs/monorepo/monorepo_integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,27 @@ parameters:
description: Executor to run the command on
type: executor
default: node-executor
command:
description: Command to run
type: string
default: yarn test:integration
request_remote_docker:
description: Add the option to request a new remote docker, set to false when you concat docker jobs
type: boolean
default: false
executor: << parameters.executor >>
steps:
- checkout_clone
- when:
condition: << parameters.request_remote_docker >>
steps:
- setup_remote_docker:
version: default
- docker_login
- attach_workspace:
at: ~/voiceflow
- install_node_modules
- monorepo_integration_tests:
run_on_root: << parameters.run_on_root >>
command: << parameters.command >>
force_execution: true

0 comments on commit ce7134a

Please sign in to comment.