1
0
mirror of https://github.com/gryf/coach.git synced 2025-12-17 19:20:19 +01:00

tests: added function tests to nightly CircleCI (#252)

This commit is contained in:
anabwan
2019-03-21 00:39:22 +02:00
committed by Scott Leishman
parent e3c7e526c7
commit 83741fa92a

View File

@@ -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