mirror of
https://github.com/gryf/coach.git
synced 2025-12-17 11:10:20 +01:00
tests: added function tests to nightly CircleCI (#252)
This commit is contained in:
@@ -165,6 +165,26 @@ jobs:
|
||||
kubectl delete ns integration-test-${CIRCLE_BUILD_NUM} || true
|
||||
when: always
|
||||
|
||||
functional_tests:
|
||||
<<: *executor_prep
|
||||
steps:
|
||||
- checkout
|
||||
- *remote_docker
|
||||
- *restore_cache
|
||||
- *aws_prep
|
||||
- *docker_prep
|
||||
- run:
|
||||
name: run functional tests
|
||||
command: |
|
||||
python3 rl_coach/tests/test_eks.py -c coach-test -bn ${CIRCLE_BUILD_NUM} -tn functional-test -tc 'make functional_tests_without_docker' -i 316971102342.dkr.ecr.us-west-2.amazonaws.com/coach:$(git describe --tags --always --dirty) -cpu 2048 -mem 4096
|
||||
no_output_timeout: 60m
|
||||
- run:
|
||||
name: cleanup
|
||||
command: |
|
||||
kubectl delete --all pods --namespace=functional-test-${CIRCLE_BUILD_NUM} || true
|
||||
kubectl delete ns functional-test-${CIRCLE_BUILD_NUM} || true
|
||||
when: always
|
||||
|
||||
golden_test_gym:
|
||||
<<: *executor_prep
|
||||
steps:
|
||||
@@ -432,6 +452,7 @@ workflows:
|
||||
jobs:
|
||||
- unit_tests
|
||||
- integration_tests
|
||||
- functional_tests
|
||||
- build_gym_env
|
||||
- build_doom_env
|
||||
- build_mujoco_env
|
||||
|
||||
Reference in New Issue
Block a user