Skip to content

Commit

Permalink
fix (ci): Add files that trigger the backend test (#1559)
Browse files Browse the repository at this point in the history
# Motivation
Some changes that affect the rust builds do not trigger the backend (rust code) CI job.  For example, [updating the Rust version did not cause any rust build to be run in CI](https://github.com/dfinity/oisy-wallet/pull/1513/checks).

# Changes
- Include rust and docker files in the list of files that, when changed, cause the backend ci job to be exercised.

# Tests
See CI: The backend build [was triggered](https://github.com/dfinity/oisy-wallet/pull/1559/checks) by changing the backend test.
  • Loading branch information
bitdivine authored Jun 25, 2024
1 parent 5b3ae06 commit 01e6c5b
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/backend-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 01e6c5b

Please sign in to comment.