From b9c4068fa8949190f4322c1508a1d01a881a57ae Mon Sep 17 00:00:00 2001 From: Tomasz Urbaszek Date: Tue, 9 Apr 2024 17:08:13 +0200 Subject: [PATCH] Add cli action tests on CI --- .github/workflows/test_cli_action.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/test_cli_action.yaml diff --git a/.github/workflows/test_cli_action.yaml b/.github/workflows/test_cli_action.yaml new file mode 100644 index 0000000000..fed98a3e75 --- /dev/null +++ b/.github/workflows/test_cli_action.yaml @@ -0,0 +1,26 @@ +name: Testing + +on: + pull_request: + branches: + - "*" + push: + tags: + - "v*" # Push events to matching v*, i.e. v1.0, v20.15.10 + branches: + - main + +env: + TERM: unknown # Disables colors in rich + +jobs: + version: + name: "Check Snowflake CLI version" + runs-on: ubuntu-latest + steps: + - uses: actions/snowflake-cli@v1 + with: + cli-version: "2.1.0" + + - name: Test version + run: snow --version