Skip to content

Commit

Permalink
quality: Test Bicep static quality
Browse files Browse the repository at this point in the history
clemlesne committed Dec 10, 2024

Verified

This commit was signed with the committer’s verified signature.
bep Bjørn Erik Pedersen
1 parent cf8b32b commit 3168260
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/pipeline.yaml
Original file line number Diff line number Diff line change
@@ -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

3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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 \

0 comments on commit 3168260

Please sign in to comment.