Skip to content

Commit

Permalink
Modify QEMU test workflow to ignore certain paths
Browse files Browse the repository at this point in the history
The workflow won't run if the changes only include the following paths:
- 'book/**'
- 'c_test/**'
- 'docker/**'
- 'github_pages/**'
- 'old_crates/**'
- 'scripts/**'
- '.gitignore'
- 'LICENSE-MIT'
- 'README.md'
- 'bochsrc.txt'
- 'rustfmt.toml'
- 'slirp.conf'

I'd rather be conservative with the list of paths to exclude because
if any of the paths inadvertently affect the CI run, that could lead to
weird problems.

Signed-off-by: Klimenty Tsoutsman <[email protected]>
  • Loading branch information
tsoutsman committed Oct 24, 2023
1 parent a859ff5 commit 786d7fc
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 786d7fc

Please sign in to comment.