2020-06-19 12:54:36 -04:00
|
|
|
#!/bin/bash
|
2020-06-19 13:32:09 -04: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 13:48:39 -04:00
|
|
|
#If you do neither, this will default to running against the test automation files
|
|
|
|
tmppath=/tmp/lint
|
2020-06-19 17:14:17 -04:00
|
|
|
if [ ! -L $tmppath ]; then
|
2020-06-19 13:48:39 -04:00
|
|
|
ln -s $PWD/.automation/test $tmppath
|
|
|
|
fi
|
|
|
|
|
2020-06-19 12:54:36 -04:00
|
|
|
export RUN_LOCAL=true
|
2020-06-19 13:48:39 -04:00
|
|
|
source $PWD/lib/linter.sh
|