Merge pull request #27002 from backstage/rugvip/test-cache

cli: add --successCache option for repo test
This commit is contained in:
Patrik Oldsberg
2024-10-08 12:07:28 +02:00
committed by GitHub
11 changed files with 271 additions and 12 deletions
+1 -1
View File
@@ -237,7 +237,7 @@ jobs:
run: yarn backstage-cli repo lint --since origin/master --successCache
- name: test changed packages
run: yarn backstage-cli repo test --maxWorkers=3 --workerIdleMemoryLimit=1300M --since origin/master
run: yarn backstage-cli repo test --maxWorkers=3 --workerIdleMemoryLimit=1300M --since origin/master --successCache
env:
BACKSTAGE_TEST_DISABLE_DOCKER: 1
BACKSTAGE_TEST_DATABASE_POSTGRES16_CONNECTION_STRING: postgresql://postgres:postgres@localhost:${{ job.services.postgres16.ports[5432] }}
+1 -1
View File
@@ -55,7 +55,7 @@ jobs:
run: yarn lint:type-deps
- name: test
run: yarn backstage-cli repo test --maxWorkers=3 --workerIdleMemoryLimit=1300M
run: yarn backstage-cli repo test --maxWorkers=3 --workerIdleMemoryLimit=1300M --successCache
env:
BACKSTAGE_TEST_DISABLE_DOCKER: 1