fix(p01): declare test teardown type and add targeted quality retry
This commit is contained in:
1 parent
2dda3b5925
commit
7d8eebd3dc
2 files changed
+9
No files matched your search
@@ -11,9 +11,15 @@ on:
|
|||||||
required: false
|
required: false
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
|
quality_only:
|
||||||
|
description: Run only TypeScript and ESLint after a focused P01 test type fix
|
||||||
|
required: false
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
node-regression:
|
node-regression:
|
||||||
|
if: ${{ github.event_name != 'workflow_dispatch' || github.event.inputs.quality_only != 'true' }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
steps:
|
steps:
|
||||||
@@ -79,6 +85,7 @@ jobs:
|
|||||||
run: npm run lint
|
run: npm run lint
|
||||||
|
|
||||||
production-build:
|
production-build:
|
||||||
|
if: ${{ github.event_name != 'workflow_dispatch' || github.event.inputs.quality_only != 'true' }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 25
|
timeout-minutes: 25
|
||||||
steps:
|
steps:
|
||||||
@@ -117,6 +124,7 @@ jobs:
|
|||||||
docker build -f docker/Dockerfile.proxy -t datastack-ci-proxy .
|
docker build -f docker/Dockerfile.proxy -t datastack-ci-proxy .
|
||||||
|
|
||||||
windows-compatibility:
|
windows-compatibility:
|
||||||
|
if: ${{ github.event_name != 'workflow_dispatch' || github.event.inputs.quality_only != 'true' }}
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
timeout-minutes: 25
|
timeout-minutes: 25
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
@@ -79,6 +79,7 @@ const cjsRuntimeLogCapture = require("../server/runtimeLogCapture.js") as {
|
|||||||
const ingestionServer = require("../server/index.js") as {
|
const ingestionServer = require("../server/index.js") as {
|
||||||
setDbPoolForTests: (pool: unknown) => void;
|
setDbPoolForTests: (pool: unknown) => void;
|
||||||
syncSettingsFromDatabase: () => Promise<boolean>;
|
syncSettingsFromDatabase: () => Promise<boolean>;
|
||||||
|
stopTimers: () => void;
|
||||||
};
|
};
|
||||||
|
|
||||||
test.after(async () => {
|
test.after(async () => {
|
||||||
|
|||||||
Reference in new issue
Block a user