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

quality: Test Bicep static quality

Clémence Lesné31682609b5a4
diff --git a/.github/workflows/pipeline.yaml b/.github/workflows/pipeline.yaml
index 4015f9b..4d0ec36 100644
--- a/.github/workflows/pipeline.yaml
+++ b/.github/workflows/pipeline.yaml
@@ -112,6 +112,9 @@ jobs:
python-version: "3.12"
version: "0.5.x"
+ - name: Set up Azure CLI
+ run: curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
+
# - name: Login to Azure
# uses: Azure/[email protected]
# with:
@@ -134,6 +137,9 @@ jobs:
- name: Set up dependencies
run: make install-deps
+ - name: Set up local config
+ run: mv config-remote-example.yaml config.yaml
+
# - name: Configure environment variables
# run: echo "${{ secrets.DOTENV_UNIT_TESTS }}" > .env
diff --git a/Makefile b/Makefile
index b0b1ef7..db5ae18 100644
--- a/Makefile
+++ b/Makefile
@@ -83,6 +83,9 @@ test-static:
@echo "➡️ Test Python type hints..."
uv run pyright .
+ @echo "➡️ Test Bicep code style..."
+ az bicep lint --file cicd/bicep/main.bicep
+
test-unit:
@echo "➡️ Unit tests (Pytest)..."
PUBLIC_DOMAIN=dummy uv run pytest \