Skip Rust code coverage on doc only changes

This commit is contained in:
Jan-Erik Rediger 2019-08-08 13:04:24 +02:00
Родитель 2a318abb38
Коммит 3558bf8b9e
1 изменённых файлов: 7 добавлений и 0 удалений

Просмотреть файл

@ -114,6 +114,13 @@ jobs:
# We have to use a machine with more RAM for tests so we don't run out of memory.
resource_class: "large"
steps:
- run:
name: Check skip condition
command: |
if git log -1 "$CIRCLE_SHA1" | grep -q '\[doc only\]'; then
echo "Skipping this step. Last commit was tagged to not require Android tests."
circleci-agent step halt
fi
- run:
name: Setup custom environment variables
command: |