Skip to content

Commit

Permalink
Ignore non-code paths in QEMU test CI action (theseus-os#1063)
Browse files Browse the repository at this point in the history
* The QEMU test workflow won't run if the changes only include:
- 'book/**'
- 'c_test/**'
- 'docker/**'
- 'github_pages/**'
- 'old_crates/**'
- 'scripts/**'
- '.gitignore'
- 'LICENSE-MIT'
- 'README.md'
- 'bochsrc.txt'
- 'rustfmt.toml'
- 'slirp.conf'

We specify ignore paths conservatively in order to avoid other paths
inadvertently affecting the CI action, which could lead to issues.

Signed-off-by: Klimenty Tsoutsman <[email protected]>
  • Loading branch information
tsoutsman authored Oct 24, 2023
1 parent 3fd2e4c commit c025bd1
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@ name: QEMU Test
on:
pull_request:
types: [synchronize, opened, reopened]
paths-ignore:
- 'book/**'
- 'c_test/**'
- 'docker/**'
- 'github_pages/**'
- 'old_crates/**'
- 'scripts/**'
- '.gitignore'
- 'LICENSE-MIT'
- 'README.md'
- 'bochsrc.txt'
- 'rustfmt.toml'
- 'slirp.conf'
jobs:
run-tests:
runs-on: ubuntu-latest
Expand Down

0 comments on commit c025bd1

Please sign in to comment.