2020-06-19 16:54:36 +00:00
|
|
|
#!/bin/bash
|
2020-06-19 17:32:09 +00:00
|
|
|
#At this point you can use the debug console to add export GITHUB_WORKSPACE=/path to test only a specific folder
|
|
|
|
#You can also use ln -s /path /tmp/lint as an alternative
|
2020-06-19 17:48:39 +00:00
|
|
|
#If you do neither, this will default to running against the test automation files
|
|
|
|
tmppath=/tmp/lint
|
2020-06-19 21:14:17 +00:00
|
|
|
if [ ! -L $tmppath ]; then
|
2020-06-25 10:03:39 -05:00
|
|
|
ln -s "$PWD"/.automation/test $tmppath
|
2020-06-19 17:48:39 +00:00
|
|
|
fi
|
|
|
|
|
2020-06-19 16:54:36 +00:00
|
|
|
export RUN_LOCAL=true
|
2020-06-25 10:03:39 -05:00
|
|
|
# shellcheck source=lib/linter.sh
|
|
|
|
source "$PWD"/lib/linter.sh
|