Also run check in case there are changes in the rustdoc-gui tools
This commit is contained in:
parent
3994406eca
commit
52f795b772
1 changed files with 4 additions and 2 deletions
|
@ -26,8 +26,10 @@ elif ! git diff --quiet "$BASE_COMMIT" -- src/tools/clippy src/tools/rustfmt; th
|
||||||
# There is not an easy blanket search for subtrees. For now, manually list
|
# There is not an easy blanket search for subtrees. For now, manually list
|
||||||
# the subtrees.
|
# the subtrees.
|
||||||
echo "Executing the job since clippy or rustfmt subtree was updated"
|
echo "Executing the job since clippy or rustfmt subtree was updated"
|
||||||
elif (git diff --name-only HEAD^ | grep --quiet src/test/rustdoc-gui) || \
|
elif ! (git diff --quiet "$BASE_COMMIT" -- \
|
||||||
(git diff --name-only HEAD^ | grep --quiet src/librustdoc); then
|
src/test/rustdoc-gui \
|
||||||
|
src/librustdoc \
|
||||||
|
src/tools/rustdoc-gui); then
|
||||||
# There was a change in either rustdoc or in its GUI tests.
|
# There was a change in either rustdoc or in its GUI tests.
|
||||||
echo "Executing the job since rustdoc was updated"
|
echo "Executing the job since rustdoc was updated"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue