Skip to content

Commit ade5133

Browse files
JakeChampionJake Champion
andauthored
enable running the sdk-tests locally (#109)
Co-authored-by: Jake Champion <[email protected]>
1 parent 03a3064 commit ade5133

File tree

10 files changed

+5235
-31599
lines changed

10 files changed

+5235
-31599
lines changed

.github/actions/compute-sdk-test/dist/main.js

Lines changed: 3743 additions & 28190 deletions
Large diffs are not rendered by default.

.github/actions/compute-sdk-test/main.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ require('better-logging')(console, {
2222
return `${tag} ${chalk.white.bold(ctx.type)} ${ctx.msg}`;
2323
}
2424
});
25-
const core = require('@actions/core');
26-
const github = require('@actions/github');
2725

2826
// Utility modules
2927
const Viceroy = require('./src/viceroy.js');
@@ -33,7 +31,7 @@ const compareDownstreamResponse = require('./src/compare-downstream-response.js'
3331

3432

3533
// Get our config from the Github Action
36-
const configRelativePath = `${core.getInput("config")}`;
34+
const configRelativePath = `./integration-tests/js-compute/sdk-test-config.json`;
3735
console.info(`Parsing SDK Test config: ${configRelativePath}`);
3836
const configAbsolutePath = path.resolve(configRelativePath);
3937
const config = JSON.parse(fs.readFileSync(configAbsolutePath));
@@ -214,7 +212,7 @@ const mainAsyncTask = async () => {
214212
mainAsyncTask().then(() => {
215213
process.exit(0);
216214
}).catch((error) => {
217-
core.setFailed(error.message)
215+
console.error(error.message);
218216
process.exit(1);
219217
});
220218

.github/actions/compute-sdk-test/package-lock.json

Lines changed: 0 additions & 61 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)