Bläddra i källkod

Skip build tests on forks

Scott Lahteine 4 år sedan
förälder
incheckning
31679640c0
1 ändrade filer med 2 tillägg och 0 borttagningar
  1. 2
    0
      .github/workflows/test-builds.yml

+ 2
- 0
.github/workflows/test-builds.yml Visa fil

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}

Laddar…
Avbryt
Spara