Skip to content

Commit 98633c8

Browse files
dzemanov04kash
andauthored
Sync ci test changed packages (#1396)
Signed-off-by: Dominika Zemanovicova <dzemanov@redhat.com> Co-authored-by: Kashish Mittal <kmittal@redhat.com>
1 parent 25fcc52 commit 98633c8

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292

9393
- name: prettier
9494
run: yarn prettier:check
95-
95+
9696
- name: read knip-reports flag from bcp.json
9797
id: bcp
9898
run: |
@@ -106,7 +106,7 @@ jobs:
106106
echo "bcp.json not found. Defaulting knip_reports to false."
107107
echo "knip_reports=false" >> $GITHUB_OUTPUT
108108
fi
109-
109+
110110
- name: check knip reports
111111
if: ${{ steps.bcp.outputs.knip_reports == 'true' }}
112112
run: yarn build:knip-reports --ci
@@ -124,7 +124,7 @@ jobs:
124124
run: yarn backstage-cli repo fix --check --publish
125125

126126
- name: test changed packages
127-
run: yarn backstage-cli repo test --coverage --maxWorkers=3
127+
run: yarn test:all --maxWorkers=3
128128

129129
- name: install playwright
130130
if: ${{ hashFiles(format('workspaces/{0}/playwright.config.ts', matrix.workspace)) != '' }}

workspaces/noop/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"fix": "exit 0",
1212
"postinstall": "cd ../../ && yarn install",
1313
"prettier:check": "exit 0",
14-
"tsc:full": "exit 0"
14+
"tsc:full": "exit 0",
15+
"test:all": "exit 0"
1516
}
1617
}

0 commit comments

Comments
 (0)