From 7ff86dd86c9f88dfadc8e41105f9d34096040877 Mon Sep 17 00:00:00 2001 From: Joe Bellus Date: Mon, 17 Oct 2022 17:26:56 -0400 Subject: [PATCH] CI run on PR CI is now restricted to PR events --- .drone.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 7ffd2d9..32cbd32 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,6 +11,10 @@ steps: - rustup component add clippy - cargo clippy - cargo test --all + when: + event: + - pull_request + - name: deploy image: rust:latest commands: @@ -44,7 +48,10 @@ steps: - name: test commands: - rustup default stable - - cargo test + - cargo test + when: + event: + - pull_request - name: deploy commands: - rustup default stable