Ver código fonte

Exclude benchmarks from testing (#492)

* Exclude benchmarks from testing
Reinis Mazeiks 3 anos atrás
pai
commit
7fdc72726d
2 arquivos alterados com 2 adições e 1 exclusões
  1. 1 0
      .github/workflows/main.yml
  2. 1 1
      Makefile.toml

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

@@ -11,6 +11,7 @@ on:
       - .github/**
       - lib.rs
       - Cargo.toml
+      - Makefile.toml
 
   pull_request:
     types: [opened, synchronize, reopened, ready_for_review]

+ 1 - 1
Makefile.toml

@@ -42,7 +42,7 @@ private = true
 [tasks.test]
 dependencies = ["build"]
 command = "cargo"
-args = ["test", "--all-targets", "--workspace", "--exclude", "dioxus-router"]
+args = ["test", "--lib", "--bins", "--tests", "--examples", "--workspace", "--exclude", "dioxus-router"]
 private = true
 
 [tasks.test-with-browser]