Skip to content

Commit

Permalink
Uncomment 'test-stories' stage
Browse files Browse the repository at this point in the history
Signed-off-by: Matheus Miranda <[email protected]>
  • Loading branch information
MatheusMiranda committed Jul 30, 2019
1 parent 4962784 commit af22493
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 15 deletions.
24 changes: 12 additions & 12 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ image: python:3.6-slim
stages:
- test style
- validate format
## - test stories
- test stories
- build requirements
- build coach
- build
Expand All @@ -29,17 +29,17 @@ run dataset validator:
- cd coach/
- make run-validator

#test stories:
# stage: test stories
# image: docker
# tags:
# - docker
# services:
# - docker:dind
# script:
# - docker build . -f docker/bot/coach.Dockerfile -t lappis/coach:latest > /dev/null 2>&1
# - docker build -f docker/bot/bot.Dockerfile -t lappis/bot:latest .
# - docker run --rm lappis/bot:latest make test-stories
test stories:
stage: test stories
image: docker
tags:
- docker
services:
- docker:dind
script:
- docker build . -f docker/bot/coach.Dockerfile -t lappis/coach:latest > /dev/null 2>&1
- docker build -f docker/bot/bot.Dockerfile -t lappis/bot:latest .
- docker run --rm lappis/bot:latest make test-stories

build requirements:
stage: build requirements
Expand Down
3 changes: 0 additions & 3 deletions bot/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ e2e:
python3 -m rasa_core.evaluate default --core /models/dialogue --nlu /models/nlu/current --stories e2e/e2e_stories_1.md --e2e
python3 -m rasa_core.evaluate default --core /models/dialogue --nlu /models/nlu/current --stories e2e/e2e_stories_2.md --e2e

e2e-test:
python3 -m rasa_core.evaluate default --core /models/dialogue --nlu /models/nlu/current --stories e2e/e2e_stories_erro.md --e2e

test-stories:
python3 test_stories.py --stories e2e/e2e_stories_1.md --e2e
python3 test_stories.py --stories e2e/e2e_stories_2.md --e2e
Expand Down

0 comments on commit af22493

Please sign in to comment.