From 1f3438125622313bfda49ae81a0c54838ec490ef Mon Sep 17 00:00:00 2001 From: Pablo Diego Date: Wed, 11 Mar 2020 16:14:47 -0300 Subject: [PATCH 01/18] Fix updating models after training, coach must be rebuilt --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0e8446f9..125f1de5 100644 --- a/Makefile +++ b/Makefile @@ -63,7 +63,7 @@ run-notebooks: train: mkdir -p bot/models sudo chmod -R 755 bot/models - docker-compose up coach + docker-compose up --build coach sudo chmod -R 644 bot/models/* validate: From 796bc46f5f4c706bf4151e78a9862314ec9dd37f Mon Sep 17 00:00:00 2001 From: Arthur Temporim Date: Wed, 29 Apr 2020 23:03:39 -0300 Subject: [PATCH 02/18] Update Rasa to version 1.10.0 Signed-off-by: Arthur Temporim --- requirements.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/requirements.txt b/requirements.txt index 9ee20796..c7640e0d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,6 @@ -rasa==1.8.0 +rasa==1.10.0 nltk==3.4.5 elasticsearch==7.0.4 -flake8==3.7.8 --extra-index-url https://pypi.rasa.com/simple -rasa-x==0.26.0 +rasa-x==0.27.7 From 0e0ea458bb447773aedbef6b5882743b2ed8726c Mon Sep 17 00:00:00 2001 From: Arthur Temporim Date: Wed, 29 Apr 2020 23:27:06 -0300 Subject: [PATCH 03/18] Remove .gitlab-ci.yml Signed-off-by: Arthur Temporim --- .gitlab-ci.yml | 105 ------------------------------------------------- 1 file changed, 105 deletions(-) delete mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index fb856805..00000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,105 +0,0 @@ -image: python:3.6-slim - -before_script: - - apt-get update --yes - - apt-get install gcc - -variables: - BOT_IMAGE: $DOCKERHUB_USER/bot - COACH_IMAGE: $DOCKERHUB_USER/coach - -stages: - - test style - - test stories - - build requirements - - build coach - - build - - -############################################################# -#################### TEST STYLE ############################# -############################################################# -test style: - stage: test style - script: - - pip -V - - python -V - - pip install -r requirements.txt - - flake8 --exclude venv - - -############################################################# -############### TEST STORIES ################################ -############################################################# -test stories: - stage: test stories - image: docker - tags: - - docker - services: - - docker:dind - script: - - docker build -f docker/coach.Dockerfile -t $COACH_IMAGE:latest . - - docker build -f docker/bot.Dockerfile -t $BOT_IMAGE:latest . - - docker run --rm $BOT_IMAGE:latest make test-stories - - -############################################################# -############### BUILD REQUIREMENTS ########################## -############################################################# -build requirements: - stage: build requirements - image: docker - tags: - - docker - services: - - docker:dind - script: - - docker login -u $DOCKERHUB_USER -p $DOCKERHUB_PASSWORD - - cd ./docker - - docker build . -f docker/requirements.Dockerfile -t lappis/botrequirements:boilerplate - - docker push lappis/botrequirements:boilerplate - only: - refs: - - master - changes: - - ./requirements.txt - environment: homolog - - -############################################################# -############### BUILD COACH ################################# -############################################################# -build coach: - stage: build coach - image: docker - tags: - - docker - services: - - docker:dind - script: - - docker login -u $DOCKERHUB_USER -p $DOCKERHUB_PASSWORD - - docker build -f docker/coach.Dockerfile -t $COACH_IMAGE:latest . - - docker push $COACH_IMAGE:latest - only: - - master - environment: homolog - - -############################################################# -############### BUILD BOT ################################### -############################################################# -build bot: - stage: build - image: docker - tags: - - docker - services: - - docker:dind - script: - - docker login -u $DOCKERHUB_USER -p $DOCKERHUB_PASSWORD - - docker build -f docker/bot.Dockerfile -t $BOT_IMAGE:latest . - - docker push $BOT_IMAGE:latest - only: - - master - environment: homolog From 9a7048513f3522a27b7198623f7335fde0115b08 Mon Sep 17 00:00:00 2001 From: Arthur Temporim Date: Wed, 29 Apr 2020 23:31:30 -0300 Subject: [PATCH 04/18] Correct flake8 issue Signed-off-by: Arthur Temporim --- bot/actions/actions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/actions/actions.py b/bot/actions/actions.py index 57a14b4c..e0ff1b61 100644 --- a/bot/actions/actions.py +++ b/bot/actions/actions.py @@ -1,4 +1,4 @@ -## This files contains your custom actions which can be used to run +# This files contains your custom actions which can be used to run # custom Python code. # # See this guide on how to implement these action: From e213d385fb465376a318abe654c4cc24660a935a Mon Sep 17 00:00:00 2001 From: Arthur Temporim Date: Wed, 29 Apr 2020 23:32:00 -0300 Subject: [PATCH 05/18] Create pythonpackage.yml --- .github/workflows/pythonpackage.yml | 39 +++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/pythonpackage.yml diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml new file mode 100644 index 00000000..a1fdd509 --- /dev/null +++ b/.github/workflows/pythonpackage.yml @@ -0,0 +1,39 @@ +# This workflow will install Python dependencies, run tests and lint with a variety of Python versions +# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions + +name: Python package + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + strategy: + matrix: + python-version: [3.6, 3.7, 3.8] + + steps: + - uses: actions/checkout@v2 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v1 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install flake8 pytest + if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + - name: Lint with flake8 + run: | + # stop the build if there are Python syntax errors or undefined names + flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics + # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide + flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics +# - name: Test with pytest +# run: | +# pytest From 74aaeed98da2585364dc6a0117e1fd0c91881e57 Mon Sep 17 00:00:00 2001 From: Arthur Temporim Date: Thu, 30 Apr 2020 00:04:27 -0300 Subject: [PATCH 06/18] Update pythonpackage.yml --- .github/workflows/pythonpackage.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index a1fdd509..8a906872 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.6, 3.7, 3.8] + python-version: [3.6, 3.7] steps: - uses: actions/checkout@v2 @@ -25,7 +25,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | - python -m pip install --upgrade pip + python -m pip install --upgrade pip gast==0.2.2 pip install flake8 pytest if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Lint with flake8 From 43f572e9f9d55a14edbf42f1b33b69bc5fef3601 Mon Sep 17 00:00:00 2001 From: Arthur Temporim Date: Thu, 30 Apr 2020 00:11:23 -0300 Subject: [PATCH 07/18] Improve CI Signed-off-by: Arthur Temporim --- .github/workflows/pythonpackage.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 8a906872..adba981c 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.6, 3.7] + python-version: [3.6, 3.7, 3.8] steps: - uses: actions/checkout@v2 @@ -25,6 +25,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | + # Added "gast=0.2.2" as a workarround because of a Tensorflow issue, should be removed soon python -m pip install --upgrade pip gast==0.2.2 pip install flake8 pytest if [ -f requirements.txt ]; then pip install -r requirements.txt; fi @@ -34,6 +35,9 @@ jobs: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + - name: Test Rasa version + run: | + rasa --version # - name: Test with pytest # run: | # pytest From 23c6683eb7094db6e0053645a8cd5648e605c68f Mon Sep 17 00:00:00 2001 From: Arthur Temporim Date: Thu, 30 Apr 2020 00:15:40 -0300 Subject: [PATCH 08/18] Rename to python.yml and improve CI Signed-off-by: Arthur Temporim --- .github/workflows/{pythonpackage.yml => python.yml} | 4 ++-- requirements.txt | 6 +----- x-requirements.txt | 2 ++ 3 files changed, 5 insertions(+), 7 deletions(-) rename .github/workflows/{pythonpackage.yml => python.yml} (95%) create mode 100644 x-requirements.txt diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/python.yml similarity index 95% rename from .github/workflows/pythonpackage.yml rename to .github/workflows/python.yml index adba981c..8bf5c79d 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/python.yml @@ -7,7 +7,7 @@ on: push: branches: [ master ] pull_request: - branches: [ master ] + branches: [ master, devel ] jobs: build: @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.6, 3.7, 3.8] + python-version: [3.6, 3.7] steps: - uses: actions/checkout@v2 diff --git a/requirements.txt b/requirements.txt index 9ee20796..cf058765 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,3 @@ -rasa==1.8.0 +rasa==1.10.0 nltk==3.4.5 elasticsearch==7.0.4 -flake8==3.7.8 - ---extra-index-url https://pypi.rasa.com/simple -rasa-x==0.26.0 diff --git a/x-requirements.txt b/x-requirements.txt new file mode 100644 index 00000000..f9d52436 --- /dev/null +++ b/x-requirements.txt @@ -0,0 +1,2 @@ +--extra-index-url https://pypi.rasa.com/simple +rasa-x==0.27.7 From ff2c2386b066e3f4d3e84aa8837bceef78238e8e Mon Sep 17 00:00:00 2001 From: Arthur Temporim Date: Thu, 30 Apr 2020 00:37:32 -0300 Subject: [PATCH 09/18] Add install command to Makefile Signed-off-by: Arthur Temporim --- bot/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bot/Makefile b/bot/Makefile index d84609e4..1c771339 100644 --- a/bot/Makefile +++ b/bot/Makefile @@ -3,6 +3,11 @@ clean: rm -rf graph.html results/ models/* *.db* +install: + pip install --upgrade pip && \ + pip install -r ../requirements.txt && \ + pip install -r ../x-requirements.txt + ############################## BOT ############################## # RASA X x: From 74f717761b6a04bd6879ff40daefd9aa9aa44b2b Mon Sep 17 00:00:00 2001 From: Arthur Temporim Date: Mon, 4 May 2020 17:42:45 -0300 Subject: [PATCH 10/18] Remove sudo from Makefile Signed-off-by: Arthur Temporim --- Makefile | 38 ++++++++++++++++++-------------------- 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/Makefile b/Makefile index 125f1de5..acf6281b 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ current_dir := $(shell pwd) clean: - sudo docker-compose down + docker-compose down ############################## BOILERPLATE ############################## first-run: @@ -24,51 +24,49 @@ build-coach: docker-compose build --no-cache coach build-analytics: - sudo docker-compose up -d elasticsearch - sudo docker-compose up -d rabbitmq - sudo docker-compose up -d rabbitmq-consumer - sudo docker-compose up -d kibana + docker-compose up -d elasticsearch + docker-compose up -d rabbitmq + docker-compose up -d rabbitmq-consumer + docker-compose up -d kibana # This sleep time is a work arround the main objetive is run the following command when elasticsearch is ready # The following command is needed just once for project. It's just a setup onfiguration script. sleep 30 - sudo docker-compose run --rm -v $(current_dir)/modules/analytics/setup_elastic.py:/analytics/setup_elastic.py bot python /analytics/setup_elastic.py - sudo docker-compose run --rm -v $(current_dir)/modules/analytics/:/analytics/ bot python /analytics/import_dashboards.py + docker-compose run --rm -v $(current_dir)/modules/analytics/setup_elastic.py:/analytics/setup_elastic.py bot python /analytics/setup_elastic.py + docker-compose run --rm -v $(current_dir)/modules/analytics/:/analytics/ bot python /analytics/import_dashboards.py echo "Não se esqueça de atualizar o arquivo endpoints.yml" sensible-browser --no-sandbox http://localhost:5601 run-analytics: - sudo docker-compose up -d rabbitmq - sudo docker-compose up -d rabbitmq-consumer - sudo docker-compose up -d elasticsearch - sudo docker-compose up -d kibana + docker-compose up -d rabbitmq + docker-compose up -d rabbitmq-consumer + docker-compose up -d elasticsearch + docker-compose up -d kibana sensible-browser --no-sandbox http://localhost:5601 run-shell: - sudo docker-compose run --rm --service-ports bot make shell + docker-compose run --rm --service-ports bot make shell run-x: - sudo docker-compose run --rm --service-ports bot make x + docker-compose run --rm --service-ports bot make x run-webchat: - sudo docker-compose run -d --rm --service-ports bot-webchat + docker-compose run -d --rm --service-ports bot-webchat sensible-browser modules/webchat/index.html run-telegram: - sudo docker-compose run -d --rm --service-ports bot_telegram make telegram + docker-compose run -d --rm --service-ports bot_telegram make telegram run-notebooks: - sudo docker-compose up -d notebooks + docker-compose up -d notebooks sensible-browser --no-sandbox http://localhost:8888 train: mkdir -p bot/models - sudo chmod -R 755 bot/models docker-compose up --build coach - sudo chmod -R 644 bot/models/* validate: - sudo docker-compose run --rm coach rasa data validate --domain domain.yml --data data/ -vv + docker-compose run --rm coach rasa data validate --domain domain.yml --data data/ -vv visualize: - sudo docker-compose run --rm -v $(current_dir)/bot:/coach coach rasa visualize --domain domain.yml --stories data/stories.md --config config.yml --nlu data/nlu.md --out ./graph.html -vv + docker-compose run --rm -v $(current_dir)/bot:/coach coach rasa visualize --domain domain.yml --stories data/stories.md --config config.yml --nlu data/nlu.md --out ./graph.html -vv sensible-browser --no-sandbox bot/graph.html From 5cc6ecf7ec7ce2a2fd3790451fb796672b4c1f79 Mon Sep 17 00:00:00 2001 From: Arthur Temporim Date: Mon, 4 May 2020 17:43:08 -0300 Subject: [PATCH 11/18] Add a requirements file to rasa x x-requirements.txt Signed-off-by: Arthur Temporim --- docker/requirements.Dockerfile | 2 ++ x-requirements.txt | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docker/requirements.Dockerfile b/docker/requirements.Dockerfile index 40382568..37cebc2a 100644 --- a/docker/requirements.Dockerfile +++ b/docker/requirements.Dockerfile @@ -1,11 +1,13 @@ FROM python:3.7-slim COPY ./requirements.txt /tmp +COPY ./x-requirements.txt /tmp RUN apt-get update && \ apt-get install -y gcc make build-essential && \ python -m pip install --upgrade pip && \ pip install --no-cache-dir -r /tmp/requirements.txt && \ + pip install --no-cache-dir -r /tmp/x-requirements.txt && \ python -c "import nltk; nltk.download('stopwords');" && \ find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf && \ apt-get clean && \ diff --git a/x-requirements.txt b/x-requirements.txt index f9d52436..ba7a0720 100644 --- a/x-requirements.txt +++ b/x-requirements.txt @@ -1,2 +1,2 @@ --extra-index-url https://pypi.rasa.com/simple -rasa-x==0.27.7 +rasa-x==0.28.0 From 0a358f1fb562197a30b12f561669c954555d0429 Mon Sep 17 00:00:00 2001 From: lgabs Date: Fri, 12 Jun 2020 17:06:12 -0300 Subject: [PATCH 12/18] add nlu and core tests --- Makefile | 11 +++++++++-- bot/Makefile | 12 ++++++++---- 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 0e8446f9..5d5928c7 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ current_dir := $(shell pwd) clean: sudo docker-compose down -############################## BOILERPLATE ############################## +############################## BOILERPLATE ############################## first-run: make build make train @@ -19,7 +19,7 @@ build-requirements: build-bot: docker-compose build --no-cache bot - + build-coach: docker-compose build --no-cache coach @@ -66,6 +66,13 @@ train: docker-compose up coach sudo chmod -R 644 bot/models/* +############################## TESTS ############################## +run-test-nlu: + docker-compose run --rm bot make test-nlu + +run-test-core: + docker-compose run --rm bot make test-core + validate: sudo docker-compose run --rm coach rasa data validate --domain domain.yml --data data/ -vv diff --git a/bot/Makefile b/bot/Makefile index d84609e4..a8e450a4 100644 --- a/bot/Makefile +++ b/bot/Makefile @@ -3,24 +3,28 @@ clean: rm -rf graph.html results/ models/* *.db* -############################## BOT ############################## +############################## BOT ############################## # RASA X x: rasa x # NLU train-nlu: - rasa train nlu -vv + rasa train nlu -vv # CORE train: rasa train -vv +# TESTS validate: rasa data validate -vv -test: - rasa test -vv +test-nlu: + rasa test nlu --out results-nlu-test + +test-core: + rasa test core --fail-on-prediction-errors --out results-core-test # MENSAGEIROS shell: From 52133e1df0759ef293cd87e1cc5e6659cfcf73a1 Mon Sep 17 00:00:00 2001 From: lgabs Date: Fri, 12 Jun 2020 18:10:15 -0300 Subject: [PATCH 13/18] ignore any results folders --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index f43154a1..b44db218 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ ### Rasa ### bot/models +bot/results* ### Rasa X ### events.db From 52c902a2e478a4155a6bfb936a875728779cabb7 Mon Sep 17 00:00:00 2001 From: arthurtemporim Date: Sat, 20 Jun 2020 16:47:55 -0300 Subject: [PATCH 14/18] Improve logs in Makefile Signed-off-by: arthurtemporim --- Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index acf6281b..c04e118c 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,9 @@ current_dir := $(shell pwd) clean: docker-compose down +stop: + docker-compose stop + ############################## BOILERPLATE ############################## first-run: make build @@ -33,7 +36,9 @@ build-analytics: sleep 30 docker-compose run --rm -v $(current_dir)/modules/analytics/setup_elastic.py:/analytics/setup_elastic.py bot python /analytics/setup_elastic.py docker-compose run --rm -v $(current_dir)/modules/analytics/:/analytics/ bot python /analytics/import_dashboards.py - echo "Não se esqueça de atualizar o arquivo endpoints.yml" + $(info ) + $(info Não se esqueça de atualizar o arquivo endpoints.yml) + $(info ) sensible-browser --no-sandbox http://localhost:5601 run-analytics: @@ -50,6 +55,9 @@ run-x: docker-compose run --rm --service-ports bot make x run-webchat: + $(info ) + $(info Executando Bot com Webchat. Caso seu navegador não seja iniciado automáticamente, abra o seguinte arquivo com seu navegador: modules/webchat/index.html) + $(info ) docker-compose run -d --rm --service-ports bot-webchat sensible-browser modules/webchat/index.html From fde3d4b31b34eb5385b6b83f6f7f06f3b318291f Mon Sep 17 00:00:00 2001 From: arthurtemporim Date: Wed, 1 Jul 2020 22:50:07 -0300 Subject: [PATCH 15/18] Add commands about validation and testing to Makefile Signed-off-by: arthurtemporim --- bot/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bot/Makefile b/bot/Makefile index 1a8c64ae..9a93915e 100644 --- a/bot/Makefile +++ b/bot/Makefile @@ -24,12 +24,19 @@ train: validate: rasa data validate -vv +test: + rasa test -vv + test-nlu: rasa test nlu --out results-nlu-test test-core: rasa test core --fail-on-prediction-errors --out results-core-test +# VALIDACAO +validate: + rasa data validate + # MENSAGEIROS shell: rasa shell -m models/ -vv --endpoints endpoints.yml --port 5004 From 49d629a79f1478cbb6ccc1c41d84d9fbd49db072 Mon Sep 17 00:00:00 2001 From: arthurtemporim Date: Wed, 1 Jul 2020 23:00:23 -0300 Subject: [PATCH 16/18] Improve Makefile and create e2e tests Signed-off-by: arthurtemporim --- bot/Makefile | 6 +++--- bot/tests/conversation_tests.md | 5 +++++ 2 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 bot/tests/conversation_tests.md diff --git a/bot/Makefile b/bot/Makefile index 9a93915e..95def38f 100644 --- a/bot/Makefile +++ b/bot/Makefile @@ -25,13 +25,13 @@ validate: rasa data validate -vv test: - rasa test -vv + rasa test --out results/ test-nlu: - rasa test nlu --out results-nlu-test + rasa test nlu --out results/results-nlu-test test-core: - rasa test core --fail-on-prediction-errors --out results-core-test + rasa test core --fail-on-prediction-errors --out results/results-core-test # VALIDACAO validate: diff --git a/bot/tests/conversation_tests.md b/bot/tests/conversation_tests.md new file mode 100644 index 00000000..7d97644b --- /dev/null +++ b/bot/tests/conversation_tests.md @@ -0,0 +1,5 @@ +## me_ajuda +* cumprimentar: oi + - utter_cumprimentar +* o_que_sei_falar: #meajuda + - utter_o_que_sei_falar From f51a2ce09ecde39ca31afd68ccf6a36ace832b7a Mon Sep 17 00:00:00 2001 From: arthurtemporim Date: Wed, 1 Jul 2020 23:02:25 -0300 Subject: [PATCH 17/18] Improve github-ci with testing Rasa bot Signed-off-by: arthurtemporim --- .github/workflows/python.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 8bf5c79d..6b2e9e8f 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -38,6 +38,10 @@ jobs: - name: Test Rasa version run: | rasa --version + - name: Test Rasa bot + run: | + cd bot/ + make test # - name: Test with pytest # run: | # pytest From ed4a67f58a5150baa9e0ba493e699da51e10b9bd Mon Sep 17 00:00:00 2001 From: arthurtemporim Date: Wed, 1 Jul 2020 23:07:05 -0300 Subject: [PATCH 18/18] Correct github workflows Signed-off-by: arthurtemporim --- .github/workflows/python.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 6b2e9e8f..d769828b 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -38,10 +38,11 @@ jobs: - name: Test Rasa version run: | rasa --version + - name: Rasa train + run: | + cd bot/ + make train - name: Test Rasa bot run: | cd bot/ make test -# - name: Test with pytest -# run: | -# pytest