GeezerVison is showing github.com — updated tests · stackql/stackql-assert@72d1189
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: .github/workflows/npm-test.yml +4-5Lines changed: 4 additions & 5 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
8 | 8 |
|
9 | 9 | steps: |
10 | 10 | |
11 | | - - name: Use Node.js 16 |
12 | | - uses: actions/setup-node@v4.0.2 |
| 11 | + - name: Setup Node.js environment |
| 12 | + uses: actions/setup-node@v4.1.0 |
13 | 13 | with: |
14 | | - node-version: 16.x |
| 14 | + node-version: 18 |
15 | 15 | - run: npm ci |
16 | | - - run: npm test |
17 | | - |
| 16 | + - run: npm test |
Collapse file
Copy file name to clipboardExpand all lines: .github/workflows/stackql-assert-test.yml +3-3Lines changed: 3 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
21 | 21 | # Pull required providers |
22 | 22 | # |
23 | 23 | - name: pull required providers |
24 | | - |
| 24 | + |
25 | 25 | with: |
26 | 26 | is_command: true |
27 | 27 | query: "REGISTRY PULL google; REGISTRY PULL github" |
|
35 | 35 | test_query: | |
36 | 36 | SELECT name |
37 | 37 | FROM google.compute.instances |
38 | | - WHERE project = 'stackql-demo' AND zone = 'australia-southeast1-a' AND name = 'stackql-demo-001'; |
| 38 | + WHERE project = 'stackql-integration-tests' AND zone = 'australia-southeast1-a' and name = 'stackql-test-001'; |
39 | 39 | expected_rows: 1 |
40 | 40 | env: |
41 | 41 | GOOGLE_CREDENTIALS: ${{ secrets.GOOGLE_CREDENTIALS }} |
|
47 | 47 | uses: ./ |
48 | 48 | with: |
49 | 49 | test_query_file_path: './.github/workflows/workflow_scripts/google-example.iql' |
50 | | - expected_results_str: '[{"name":"stackql-demo-001"}]' |
| 50 | + expected_results_str: '[{"name":"stackql-test-001"}]' |
51 | 51 | env: |
52 | 52 | GOOGLE_CREDENTIALS: ${{ secrets.GOOGLE_CREDENTIALS }} |
53 | 53 |
|
|
Collapse file
Copy file name to clipboard +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
1 | | -[{"name":"stackql-demo-001"}] |
| 1 | +[{"name":"stackql-test-001"}] |
Collapse file
Copy file name to clipboardExpand all lines: .github/workflows/workflow_scripts/google-example-inline-jsonnet.iql +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -8,4 +8,4 @@ local zone = std.extVar("GOOGLE_ZONE"); |
8 | 8 | >>> |
9 | 9 | SELECT name |
10 | 10 | FROM google.compute.instances |
11 | | -WHERE project = '{{ .project }}' and zone = '{{ .zone }}' and name = 'stackql-demo-001'; |
| 11 | +WHERE project = '{{ .project }}' and zone = '{{ .zone }}' and name = 'stackql-test-001'; |
Collapse file
Copy file name to clipboard +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | SELECT name |
2 | 2 | FROM google.compute.instances |
3 | | -WHERE project = 'stackql-demo' AND zone = 'australia-southeast1-a' AND name = 'stackql-demo-001'; |
| 3 | +WHERE project = 'stackql-integration-tests' AND zone = 'australia-southeast1-a' AND name = 'stackql-test-001'; |
Collapse file
Copy file name to clipboardExpand all lines: action.yml +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -34,13 +34,13 @@ runs: |
34 | 34 | using: "composite" |
35 | 35 | steps: |
36 | 36 | - name: Setup StackQL |
37 | | - |
| 37 | + |
38 | 38 | with: |
39 | 39 | use_wrapper: true |
40 | 40 |
|
41 | 41 | - name: Execute StackQL Command |
42 | 42 | id: exec-query |
43 | | - |
| 43 | + |
44 | 44 | with: |
45 | 45 | query: ${{ inputs.test_query }} |
46 | 46 | query_file_path: ${{ inputs.test_query_file_path }} |
|