From af3eb5c95ac43bca35ac9cdf40844f58b5da6db6 Mon Sep 17 00:00:00 2001 From: Joao Machado Date: Wed, 19 Oct 2016 15:53:35 +0100 Subject: [PATCH] Add troubleshoot info for AppVeyor --- README.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.rst b/README.rst index 890c3c5..8c69f05 100644 --- a/README.rst +++ b/README.rst @@ -54,3 +54,10 @@ Next, simply run the Codacy reporter. It will find the current commit and send a ``python-codacy-coverage -r coverage.xml`` Note: You should keep your API token well **protected**, as it grants owner permissions to your projects. + +Troubleshoot +--------------- + +If you are using any CI that does not have .git information, you can speficy the commit with -c. For example if you are using AppVeyor you can: + +``python-codacy-coverage -c ${APPVEYOR_REPO_COMMIT} -r coverage.xml``