1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-19 02:17:38 +03:00

.git would be a directory if present, fix test

This commit is contained in:
Athanasius 2020-07-28 18:22:58 +01:00
parent 59babd113b
commit c18f183db9

View File

@ -26,7 +26,7 @@ jobs:
BASE_REF: ${{github.base_ref}}
run: |
# Checkout might not have happened.
if [ ! -f ".git" ]; then exit 0 ; fi
if [ ! -d ".git" ]; then exit 0 ; fi
# Get a list of files ending with ".py", stuff in environment.
# We don't rely on exit status because Workflows run with
# "set -e" so any failure in a pipe is total failure.