Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
1 change: 1 addition & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@ runs:
PLUGIN_NAME: ${{ inputs.plugin-name }}
WORKSPACE: ${{ github.workspace }}
ACTION_PATH: ${{ github.action_path }}
COMPOSER_AUTH: '{"github-oauth": {"github.com": "${{ github.token }}"}}'

- name: checkout additional plugins
if: inputs.dependent-plugins != ''
Expand Down
6 changes: 5 additions & 1 deletion scripts/bash/prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,13 @@ echo -e "${GREEN}Using workspace path $WORKSPACE ${SET}"

if [ "$TEST_SUITE" = "UI" ]; then
cd $WORKSPACE/matomo
git lfs pull --exclude=
if [ "$PLUGIN_NAME" != '' ]; then
# Plugin builds only compare the plugin's own screenshots, so skip Matomo
# core's screenshots (~124MB) and scope the plugin's pull to its UI dir.
cd $WORKSPACE/matomo/plugins/$PLUGIN_NAME
git lfs pull --include="tests/UI/expected-screenshots/*" --exclude=

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

some plugins might also use "tests/UI/expected-ui-screenshots/*"

else
# Matomo core build: the calling workflow scopes via `git config lfs.fetchinclude`.
git lfs pull --exclude=
fi
echo -e "${GREEN}setup fonts${SET}"
Expand Down