Skip to content

Commit

Permalink
chore: change command
Browse files Browse the repository at this point in the history
  • Loading branch information
jordipuigbou committed Nov 16, 2023
1 parent d2bc38d commit fb57a9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ run-apis: ## run apis testing
.PHONY: run-apis-coverage
run-apis-coverage: ## run apis coverage
docker compose -f $(APIS_DIR)/docker-compose.yml build
docker compose -f $(APIS_DIR)/docker-compose.yml run api bash -c "coverage run -m pytest /root/test.py && coverage xml && coverage report && mv coverage.xml /root/_output/reports/coverage.xml"
docker compose -f $(APIS_DIR)/docker-compose.yml run api bash -c "coverage run -m pytest --junitxml=/root/_output/reports/junit-apis.xml /root/test.py && coverage xml -o /root/_output/reports/coverage.xml && coverage report"

.PHONY: clean-apis
clean-apis: ## clean apis
Expand Down

0 comments on commit fb57a9e

Please sign in to comment.