Skip to content

Commit 32a2737

Browse files
committed
bad snap and better diff capture
1 parent a3dfe42 commit 32a2737

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

.github/workflows/analyses-snapshot-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
run: |
6262
git fetch origin ${{ env.PR_TARGET_BRANCH }}
6363
DIFF_OUTPUT=$(git diff HEAD origin/${{ env.PR_TARGET_BRANCH }} -- analyses-snapshot-testing/tests/__snapshots__/analyses_snapshot_test)
64-
if [ $DIFF_EXIT_CODE -eq 0 ]; then
64+
if [ -n "$DIFF_OUTPUT" ]; then
6565
echo "Analyses snapshots match ${{ env.PR_TARGET_BRANCH }} snapshots."
6666
else
6767
echo "Analyses snapshots do NOT match ${{ env.PR_TARGET_BRANCH }} snapshots."

analyses-snapshot-testing/tests/__snapshots__/analyses_snapshot_test/test_analysis_snapshot[0a9ef592c8][Flex_S_v2_18_Illumina_DNA_Prep_48x].json

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
11
{
22
"commands": [
3-
{
4-
"commandType": "home",
5-
"completedAt": "TIMESTAMP",
6-
"createdAt": "TIMESTAMP",
7-
"id": "UUID",
8-
"key": "50c7ae73a4e3f7129874f39dfb514803",
9-
"notes": [],
10-
"params": {},
11-
"result": {},
12-
"startedAt": "TIMESTAMP",
13-
"status": "succeeded"
14-
},
153
{
164
"commandType": "loadPipette",
175
"completedAt": "TIMESTAMP",

0 commit comments

Comments
 (0)