Jonathan Kelley пре 3 година
родитељ
комит
3c54ce06f2
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4 0
      .github/workflows/main.yml

+ 4 - 0
.github/workflows/main.yml

@@ -34,6 +34,7 @@ jobs:
           command: check
           command: check
 
 
   test:
   test:
+    if: github.event.pull_request.draft == false
     name: Test Suite
     name: Test Suite
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
     steps:
     steps:
@@ -55,6 +56,7 @@ jobs:
           args: tests
           args: tests
 
 
   fmt:
   fmt:
+    if: github.event.pull_request.draft == false
     name: Rustfmt
     name: Rustfmt
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
     steps:
     steps:
@@ -72,6 +74,7 @@ jobs:
           args: --all -- --check
           args: --all -- --check
 
 
   clippy:
   clippy:
+    if: github.event.pull_request.draft == false
     name: Clippy
     name: Clippy
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
     steps:
     steps:
@@ -91,6 +94,7 @@ jobs:
           args: -- -D warnings
           args: -- -D warnings
 
 
   coverage:
   coverage:
+    if: github.event.pull_request.draft == false
     name: Coverage
     name: Coverage
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
     container:
     container: