From 7fdc72726d5ff9025472d5b3c977eb993c1f0311 Mon Sep 17 00:00:00 2001 From: Reinis Mazeiks Date: Thu, 7 Jul 2022 16:59:00 +0300 Subject: [PATCH] Exclude benchmarks from testing (#492) * Exclude benchmarks from testing --- .github/workflows/main.yml | 1 + Makefile.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7362a8e40..228e83f11 100644 --- a/.github/workflows/main.yml +++ b/.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] diff --git a/Makefile.toml b/Makefile.toml index 17c32fd15..8ecbe6b2e 100644 --- a/Makefile.toml +++ b/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]