Skip build tests on forks

This commit is contained in:
Scott Lahteine 2020-01-05 01:14:59 -06:00
parent 3469a0a1a0
commit 31679640c0

View file

@ -94,6 +94,8 @@ jobs:
- name: Run ${{ matrix.test-platform }} Tests - name: Run ${{ matrix.test-platform }} Tests
run: | run: |
# Inline tests script
[[ "$GITHUB_ACTOR" == 'MarlinFirmware' ]] || exit 0
chmod +x buildroot/bin/* chmod +x buildroot/bin/*
chmod +x buildroot/share/tests/* chmod +x buildroot/share/tests/*
export PATH=./buildroot/bin/:./buildroot/share/tests/:${PATH} export PATH=./buildroot/bin/:./buildroot/share/tests/:${PATH}