Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
build: run coverage for inspector protocol changes
The inspector protocol currently lives in `tools`.
  • Loading branch information
richardlau committed Aug 10, 2021
commit 44104c6e9d0dff17edc403ca16b9cb9406147b64
2 changes: 0 additions & 2 deletions .github/workflows/coverage-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ on:
- 'benchmark/**'
- 'deps/**'
- 'doc/**'
- 'tools/**'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, that's why this was missed in the PR!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have never used it myself, but based on https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#example-using-positive-and-negative-patterns-1, perhaps this would be better?

Suggested change
- 'tools/**'
paths:
- '!**.md'
- '!benchmark/**'
- '!deps/**'
- '!doc/**'
- '!tools/**'
- 'tools/inspector_protocol/**'

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops, that was supposed to be a suggestion to replace all of lines 6-11, not just line 11.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe do this separately? I'm not sure without testing, for example, if the suggestion would include stuff under src/**, lib/**, etc. and as the GitHub docs mention the ordering matters.

push:
branches:
- master
Expand All @@ -18,7 +17,6 @@ on:
- 'benchmark/**'
- 'deps/**'
- 'doc/**'
- 'tools/**'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here as prior suggestion to use paths: instead of paths-ignore and use ! to negate each path, and then explicitly add tools/inspector_protocol/**.


env:
PYTHON_VERSION: 3.9
Expand Down