Skip to content

Commit 129f0ba

Browse files
added test matrix job in the workflow
1 parent 2e8e297 commit 129f0ba

6 files changed

Lines changed: 200 additions & 182 deletions

File tree

.github/workflows/setup-stackql.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,4 +107,21 @@ jobs:
107107

108108
- name: Use Google Provider
109109
run: |
110-
stackql exec -i ./examples/google-example.iql --auth='{ "google": { "type": "service_account", "credentialsfilepath": "sa-key.json" }}'
110+
stackql exec -i ./examples/google-example.iql --auth='{ "google": { "type": "service_account", "credentialsfilepath": "sa-key.json" }}'
111+
112+
113+
stackql-test-matrix:
114+
name: 'Terraform Run Local No Wrapper'
115+
runs-on: ${{ matrix.os }}
116+
strategy:
117+
matrix:
118+
os: [ubuntu-latest, windows-latest, macos-latest]
119+
defaults:
120+
run:
121+
working-directory: ./.github/workflows/data/local
122+
steps:
123+
- name: Checkout
124+
uses: actions/checkout@v3
125+
126+
- name: Setup Terraform
127+
uses: ./

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This action can be run on `ubuntu-latest`, `windows-latest`, and `macos-latest`
2020
2. create the github token as a secret
2121
3. In the execution step, pass the secret as environment variable with name "STACKQL_GITHUB_CREDS"
2222

23-
Check the "Use GitHub Provider" step in `.github/workflows/example-workflows.yml` for the working example
23+
Check the "Use GitHub Provider" step in `.github/workflows/setup-stackql.yml` for the working example
2424

2525
### json File Auth example
2626

@@ -31,4 +31,4 @@ Check the "Use GitHub Provider" step in `.github/workflows/example-workflows.yml
3131
2. encode the key json file into base64 string
3232
3. in execution step, run `sudo echo ${{ secrets.<name of the secret> }} | base64 -d > sa-key.json`
3333

34-
Check the "Use Google Provider" step in `.github/workflows/example-workflows.yml` for the working example
34+
Check the "Use Google Provider" step in `.github/workflows/setup-stackql.yml` for the working example

action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ inputs: {}
66
# description: 'Whether or not to install a wrapper to wrap subsequent calls of the `stackql` binary and expose its STDOUT, STDERR, and exit code as outputs named `stdout`, `stderr`, and `exitcode` respectively. Defaults to `true`.'
77
# default: 'true'
88
# required: false
9+
910
runs:
1011
using: 'node16'
1112
main: 'dist/index.js'

0 commit comments

Comments
 (0)