forked from RasaHQ/rasa-calm-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
38 lines (26 loc) · 823 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
.PHONY: install test run train test-passing help actions
-include .env
help:
@echo "install - install dependencies"
@echo "test - run tests"
@echo "run - run chatbot"
@echo "train - train chatbot"
.EXPORT_ALL_VARIABLES:
install:
poetry install
test: .EXPORT_ALL_VARIABLES
poetry run rasa test e2e e2e_tests
run: .EXPORT_ALL_VARIABLES
poetry run rasa inspect --debug
train: .EXPORT_ALL_VARIABLES
poetry run rasa train -c config.yml -d domain --data data
actions:
poetry run rasa run actions
test-passing: .EXPORT_ALL_VARIABLES
poetry run rasa test e2e e2e_tests/passing
test-flaky: .EXPORT_ALL_VARIABLES
poetry run rasa test e2e e2e_tests/flaky
test-failing: .EXPORT_ALL_VARIABLES
poetry run rasa test e2e e2e_tests/failing
test-one: .EXPORT_ALL_VARIABLES
poetry run rasa test e2e $(target) --debug