Skip to content

Commit

Permalink
Add single ci target
Browse files Browse the repository at this point in the history
  • Loading branch information
ross-p-smith committed Jan 30, 2024
1 parent d36377d commit 8aacac6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ jobs:
with:
imageName: ghcr.io/azure-samples/chat-with-your-data-solution-accelerator
cacheFrom: ghcr.io/azure-samples/chat-with-your-data-solution-accelerator
runCmd: make unittest build-frontend
runCmd: make ci
refFilterForPush: refs/heads/main
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ endif
help: ## 💬 This help message :)
@grep -E '[a-zA-Z_-]+:.*?## .*$$' $(firstword $(MAKEFILE_LIST)) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-23s\033[0m %s\n", $$1, $$2}'

ci: unittest build-frontend ## 🚀 Continuous Integration (called by Github Actions)

unittest: ## 🧪 Run the unit tests
@echo -e "\e[34m$@\e[0m" || true
@python -m pytest -m "not azure"
Expand Down

0 comments on commit 8aacac6

Please sign in to comment.