@@ -315,20 +315,22 @@ jobs:
315
315
paths :
316
316
- conda
317
317
- env
318
- - run :
319
- # Here we create an envlist file that contains some env variables that we want the docker container to be aware of.
320
- # Normally, the CIRCLECI variable is set and available on all CI workflows: https://circleci.com/docs/2.0/env-vars/#built-in-environment-variables.
321
- # They're available in all the other workflows (OSX and Windows).
322
- # But here, we're running the unittest_linux_gpu workflows in a docker container, where those variables aren't accessible.
323
- # So instead we dump the variables we need in env.list and we pass that file when invoking "docker run".
324
- name : export CIRCLECI env var
325
- command : echo "CIRCLECI=true" >> ./env.list
318
+ # - run:
319
+ # # Here we create an envlist file that contains some env variables that we want the docker container to be aware of.
320
+ # # Normally, the CIRCLECI variable is set and available on all CI workflows: https://circleci.com/docs/2.0/env-vars/#built-in-environment-variables.
321
+ # # They're available in all the other workflows (OSX and Windows).
322
+ # # But here, we're running the unittest_linux_gpu workflows in a docker container, where those variables aren't accessible.
323
+ # # So instead we dump the variables we need in env.list and we pass that file when invoking "docker run".
324
+ # name: export CIRCLECI env var
325
+ # command: echo "CIRCLECI=true" >> ./env.list
326
326
- run :
327
327
name : Install torchrl
328
+ # command: bash .circleci/unittest/linux/scripts/install.sh
328
329
command : docker run -t --gpus all -v $PWD:$PWD -w $PWD -e UPLOAD_CHANNEL -e CU_VERSION "${image_name}" .circleci/unittest/linux/scripts/install.sh
329
330
- run :
330
331
name : Run tests
331
- command : docker run --env-file ./env.list -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/run_test.sh
332
+ command : bash .circleci/unittest/linux/scripts/run_test.sh
333
+ # command: docker run --env-file ./env.list -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/run_test.sh
332
334
- run :
333
335
name : Post Process
334
336
command : docker run -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/post_process.sh
@@ -368,20 +370,22 @@ jobs:
368
370
paths :
369
371
- conda
370
372
- env
371
- - run :
372
- # Here we create an envlist file that contains some env variables that we want the docker container to be aware of.
373
- # Normally, the CIRCLECI variable is set and available on all CI workflows: https://circleci.com/docs/2.0/env-vars/#built-in-environment-variables.
374
- # They're available in all the other workflows (OSX and Windows).
375
- # But here, we're running the unittest_linux_gpu workflows in a docker container, where those variables aren't accessible.
376
- # So instead we dump the variables we need in env.list and we pass that file when invoking "docker run".
377
- name : export CIRCLECI env var
378
- command : echo "CIRCLECI=true" >> ./env.list
373
+ # - run:
374
+ # # Here we create an envlist file that contains some env variables that we want the docker container to be aware of.
375
+ # # Normally, the CIRCLECI variable is set and available on all CI workflows: https://circleci.com/docs/2.0/env-vars/#built-in-environment-variables.
376
+ # # They're available in all the other workflows (OSX and Windows).
377
+ # # But here, we're running the unittest_linux_gpu workflows in a docker container, where those variables aren't accessible.
378
+ # # So instead we dump the variables we need in env.list and we pass that file when invoking "docker run".
379
+ # name: export CIRCLECI env var
380
+ # command: echo "CIRCLECI=true" >> ./env.list
379
381
- run :
380
382
name : Install torchrl
381
- command : docker run -t --gpus all -v $PWD:$PWD -w $PWD -e UPLOAD_CHANNEL -e CU_VERSION "${image_name}" .circleci/unittest/linux_optdeps/scripts/install.sh
383
+ # command: bash .circleci/unittest/linux_optdeps/scripts/install.sh
384
+ command : docker run -t --gpus all -v $PWD:$PWD -w $PWD -e UPLOAD_CHANNEL -e CU_VERSION "${image_name}" .circleci/unittest/linux/scripts/install.sh
382
385
- run :
383
386
name : Run tests
384
- command : docker run --env-file ./env.list -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux_optdeps/scripts/run_test.sh
387
+ command : bash .circleci/unittest/linux_optdeps/scripts/run_test.sh
388
+ # command: docker run --env-file ./env.list -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/run_test.sh
385
389
- run :
386
390
name : Post Process
387
391
command : docker run -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux_optdeps/scripts/post_process.sh
@@ -468,20 +472,22 @@ jobs:
468
472
paths :
469
473
- conda
470
474
- env
471
- - run :
472
- # Here we create an envlist file that contains some env variables that we want the docker container to be aware of.
473
- # Normally, the CIRCLECI variable is set and available on all CI workflows: https://circleci.com/docs/2.0/env-vars/#built-in-environment-variables.
474
- # They're availble in all the other workflows (OSX and Windows).
475
- # But here, we're running the unittest_linux_gpu workflows in a docker container, where those variables aren't accessible.
476
- # So instead we dump the variables we need in env.list and we pass that file when invoking "docker run".
477
- name : export CIRCLECI env var
478
- command : echo "CIRCLECI=true" >> ./env.list
475
+ # - run:
476
+ # # Here we create an envlist file that contains some env variables that we want the docker container to be aware of.
477
+ # # Normally, the CIRCLECI variable is set and available on all CI workflows: https://circleci.com/docs/2.0/env-vars/#built-in-environment-variables.
478
+ # # They're available in all the other workflows (OSX and Windows).
479
+ # # But here, we're running the unittest_linux_gpu workflows in a docker container, where those variables aren't accessible.
480
+ # # So instead we dump the variables we need in env.list and we pass that file when invoking "docker run".
481
+ # name: export CIRCLECI env var
482
+ # command: echo "CIRCLECI=true" >> ./env.list
479
483
- run :
480
484
name : Install torchrl
481
- command : docker run -t --gpus all -v $PWD:$PWD -w $PWD -e UPLOAD_CHANNEL -e CU_VERSION "${image_name}" .circleci/unittest/linux_stable/scripts/install.sh
485
+ # command: bash .circleci/unittest/linux_stable/scripts/install.sh
486
+ command : docker run -t --gpus all -v $PWD:$PWD -w $PWD -e UPLOAD_CHANNEL -e CU_VERSION "${image_name}" .circleci/unittest/linux/scripts/install.sh
482
487
- run :
483
488
name : Run tests
484
- command : docker run --env-file ./env.list -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux_stable/scripts/run_test.sh
489
+ command : bash .circleci/unittest/linux_stable/scripts/run_test.sh
490
+ # command: docker run --env-file ./env.list -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/run_test.sh
485
491
- run :
486
492
name : Post Process
487
493
command : docker run -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux_stable/scripts/post_process.sh
0 commit comments