Browse Source

Skip build tests on forks

Scott Lahteine 4 years ago
parent
commit
31679640c0
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      .github/workflows/test-builds.yml

+ 2
- 0
.github/workflows/test-builds.yml View File

94
 
94
 
95
     - name: Run ${{ matrix.test-platform }} Tests
95
     - name: Run ${{ matrix.test-platform }} Tests
96
       run: |
96
       run: |
97
+        # Inline tests script
98
+        [[ "$GITHUB_ACTOR" == 'MarlinFirmware' ]] || exit 0
97
         chmod +x buildroot/bin/*
99
         chmod +x buildroot/bin/*
98
         chmod +x buildroot/share/tests/*
100
         chmod +x buildroot/share/tests/*
99
         export PATH=./buildroot/bin/:./buildroot/share/tests/:${PATH}
101
         export PATH=./buildroot/bin/:./buildroot/share/tests/:${PATH}

Loading…
Cancel
Save