mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-07 19:03:23 +03:00
.git would be a directory if present, fix test
This commit is contained in:
parent
59babd113b
commit
c18f183db9
@ -26,7 +26,7 @@ jobs:
|
|||||||
BASE_REF: ${{github.base_ref}}
|
BASE_REF: ${{github.base_ref}}
|
||||||
run: |
|
run: |
|
||||||
# Checkout might not have happened.
|
# 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.
|
# Get a list of files ending with ".py", stuff in environment.
|
||||||
# We don't rely on exit status because Workflows run with
|
# We don't rely on exit status because Workflows run with
|
||||||
# "set -e" so any failure in a pipe is total failure.
|
# "set -e" so any failure in a pipe is total failure.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user