Skip to content

Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!

Python

dev: Use JUnit test report instead of Allure

Clémence Lesné3b33bb92d607
diff --git a/Makefile b/Makefile
index b244fa5..4ec07d8 100644
--- a/Makefile
+++ b/Makefile
@@ -28,9 +28,6 @@ version-full:
@bash ./cicd/version/version.sh -g . -c -m
install:
- @echo "➡️ Installing Allure..."
- allure --version || brew install allure
-
@echo "➡️ Installing Twilio CLI..."
twilio --version || brew tap twilio/brew && brew install twilio
@@ -64,13 +61,9 @@ test:
@echo "➡️ Running Pytest..."
PUBLIC_DOMAIN=dummy pytest \
- --alluredir test-reports \
- -ra \
+ --junit-xml=test-reports/$$(date +%Y%m%d%H%M%S).xml \
tests/*.py
-test-serve:
- allure serve test-reports
-
lint:
@echo "➡️ Running Black..."
python3 -m black .
diff --git a/requirements-dev.txt b/requirements-dev.txt
index 05995d9..1b625dd 100644
--- a/requirements-dev.txt
+++ b/requirements-dev.txt
@@ -1,4 +1,3 @@
-allure-pytest==2.13.5 # Required for pytest
black[jupyter]==24.4.2
deepeval==0.21.47
deptry==0.16.1