Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Metabase
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Engineering Digital Service
Metabase
Commits
b304a821
Unverified
Commit
b304a821
authored
2 years ago
by
Nemanja Glumac
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Remove diff logic from Percy job on `master` (#23551)
parent
be065255
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/e2e-main.yml
+1
-12
1 addition, 12 deletions
.github/workflows/e2e-main.yml
with
1 addition
and
12 deletions
.github/workflows/e2e-main.yml
+
1
−
12
View file @
b304a821
...
...
@@ -201,17 +201,6 @@ jobs:
jar xf target/uberjar/metabase.jar version.properties
mv version.properties resources/
-
name
:
Percy Test
run
:
|
CHANGED_SPECS=$(git diff --name-only origin/${{ github.base_ref }} origin/${{ github.head_ref }})
CYPRESS_SPECS=$(echo "$CHANGED_SPECS" | grep "metabase/scenarios")
if [ "$CHANGED_SPECS" == "" ]; then
echo "No files have been changed";
elif [ "$CHANGED_SPECS" == "$CYPRESS_SPECS" ]; then
echo "Not running Percy because the only changed files are Cypress E2E specs";
else
echo "Run Percy visual tests";
yarn run test-visual-run
fi
run
:
yarn run test-visual-run
env
:
PERCY_TOKEN
:
${{ secrets.PERCY_TOKEN }}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment