From 40a6671429a50a00a83d2ced5dbe8b1b1cbeb746 Mon Sep 17 00:00:00 2001 From: Max Murphy Date: Tue, 25 Jun 2024 10:29:27 +0200 Subject: [PATCH] Add files that trigger the backend test --- .github/workflows/backend-tests.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/backend-tests.yml b/.github/workflows/backend-tests.yml index 4818dff18..6d545204c 100644 --- a/.github/workflows/backend-tests.yml +++ b/.github/workflows/backend-tests.yml @@ -3,8 +3,17 @@ name: Backend Tests on: pull_request: paths: - - 'src/backend/**' + - # Scripts, GitHub actions that contain 'backend' in their path. + '**/*backend*' + - # The backend source code + 'src/backend/**' - 'src/shared/**' + - # Rust files such as Cargo.lock, Cargo.toml and rust-toolchain.toml + '**/Cargo*' + - '**/*rust*' + - # The dockerfile used in this CI run, and the scripts it COPY's. + 'Dockerfile' + - 'docker/**' workflow_dispatch: jobs: