|
6 | 6 | "pretest": "./scripts/build-image.sh", |
7 | 7 | "test": "npm run lint && npm run build && npm run test:unit && npm run test:integration", |
8 | 8 | "test:unit": "./tap test/unit -R spec", |
9 | | - "test:integration": "./tap test/integration/kubernetes.test.ts -R spec --timeout=1200", |
| 9 | + "test:integration": "TEST_PLATFORM=kind CREATE_CLUSTER=true ./tap test/integration/kubernetes.test.ts -R spec --timeout=1200", |
| 10 | + "test:integration:kind": "TEST_PLATFORM=kind CREATE_CLUSTER=true ./tap test/integration/kubernetes.test.ts -R spec --timeout=1200", |
| 11 | + "test:integration:eks": "TEST_PLATFORM=eks CREATE_CLUSTER=false ./tap test/integration/kubernetes.test.ts -R spec --timeout=1200", |
10 | 12 | "test:coverage": "npm run test:unit -- --coverage", |
11 | 13 | "test:watch": "tsc-watch --onSuccess 'npm run test:unit'", |
12 | | - "test:apk": "./scripts/build-image.sh && PACKAGE_MANAGER=apk ./tap test/integration/package-manager.test.ts -R spec --timeout=7200", |
13 | | - "test:apt": "./scripts/build-image.sh && PACKAGE_MANAGER=apt ./tap test/integration/package-manager.test.ts -R spec --timeout=7200", |
14 | | - "test:rpm": "./scripts/build-image.sh && PACKAGE_MANAGER=rpm ./tap test/integration/package-manager.test.ts -R spec --timeout=7200", |
| 14 | + "test:apk": "./scripts/build-image.sh && TEST_PLATFORM=kind CREATE_CLUSTER=true PACKAGE_MANAGER=apk ./tap test/integration/package-manager.test.ts -R spec --timeout=7200", |
| 15 | + "test:apt": "./scripts/build-image.sh && TEST_PLATFORM=kind CREATE_CLUSTER=true PACKAGE_MANAGER=apt ./tap test/integration/package-manager.test.ts -R spec --timeout=7200", |
| 16 | + "test:rpm": "./scripts/build-image.sh && TEST_PLATFORM=kind CREATE_CLUSTER=true PACKAGE_MANAGER=rpm ./tap test/integration/package-manager.test.ts -R spec --timeout=7200", |
15 | 17 | "start": "bin/start", |
16 | 18 | "prepare": "npm run build", |
17 | 19 | "build": "tsc", |
|
0 commit comments