Skip to content

Commit f1b72a2

Browse files
committed
updated tests
1 parent 41cbf23 commit f1b72a2

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/stackql-exec.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
#
5656
# query_file_path with vars
5757
#
58-
- name: exec google example with query file
58+
- name: exec google example with query file using vars
5959
id: stackql-exec-file-with-vars
6060
uses: ./
6161
with:

lib/utils.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function setupAuth(core) {
1212

1313
// Check if any authentication method is provided
1414
if (!checkEnvVarValid(fileName) && !checkEnvVarValid(authStr)) {
15-
core.info("Neither AUTH_FILE_PATH nor AUTH_STR is set. Proceeding using default provider environment variable names.");
15+
// core.info("Neither AUTH_FILE_PATH nor AUTH_STR is set. Proceeding using default provider environment variable names.");
1616
return;
1717
}
1818

@@ -35,9 +35,9 @@ function setupAuth(core) {
3535
}
3636

3737
async function getStackqlCommand(core) {
38-
if (!checkEnvVarValid(process.env.AUTH)) {
39-
core.info("Cannot find AUTH environment variable when executing stackql. Proceeding using default provider environment variable names.");
40-
}
38+
// if (!checkEnvVarValid(process.env.AUTH)) {
39+
// core.info("Cannot find AUTH environment variable when executing stackql. Proceeding using default provider environment variable names.");
40+
// }
4141

4242
const [query, queryFilePath, auth, output = "json", vars] = [
4343
process.env.QUERY,
@@ -82,7 +82,7 @@ async function getStackqlCommand(core) {
8282
try {
8383
const stackQLCommand = `stackql ${args.join(" ")}`;
8484
core.exportVariable('STACKQL_COMMAND', `${stackQLCommand}`);
85-
core.info(`STACKQL_COMMAND: ${stackQLCommand}`);
85+
// core.info(`STACKQL_COMMAND: ${stackQLCommand}`);
8686
} catch (error) {
8787
core.error(error);
8888
core.setFailed("Error when executing stackql");

0 commit comments

Comments
 (0)