Skip to content

Commit 741378d

Browse files
committed
SNOW-2306184: config refactor - tests-ng fix
1 parent 3864c2b commit 741378d

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

.github/workflows/test.yaml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
- features/*
1313

1414
env:
15-
TERM: unknown # Disables colors in rich
15+
TERM: unknown # Disables colors in rich
1616

1717
permissions:
1818
contents: read
@@ -45,27 +45,27 @@ jobs:
4545
- uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24
4646

4747
tests-ng:
48-
needs: define-matrix
49-
strategy:
50-
fail-fast: true
51-
matrix:
52-
os: ${{ fromJSON(needs.define-matrix.outputs.os) }}
53-
python-version: ${{ fromJSON(needs.define-matrix.outputs.python) }}
54-
runs-on: ${{ matrix.os }}
55-
env:
56-
SNOWFLAKE_CLI_CONFIG_V2_ENABLED: 1
57-
steps:
58-
- uses: actions/checkout@v4
59-
with:
60-
persist-credentials: false
61-
- name: Set up Python ${{ matrix.python-version }}
62-
uses: actions/setup-python@v5
63-
with:
64-
python-version: ${{ matrix.python-version }}
65-
- name: Install hatch
66-
run: |
67-
pip install -U click==8.2.1 hatch
68-
hatch env create default
69-
- name: Test with hatch
70-
run: hatch run test-cov
71-
- uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24
48+
needs: define-matrix
49+
strategy:
50+
fail-fast: true
51+
matrix:
52+
os: ${{ fromJSON(needs.define-matrix.outputs.os) }}
53+
python-version: ${{ fromJSON(needs.define-matrix.outputs.python) }}
54+
runs-on: ${{ matrix.os }}
55+
steps:
56+
- uses: actions/checkout@v4
57+
with:
58+
persist-credentials: false
59+
- name: Set up Python ${{ matrix.python-version }}
60+
uses: actions/setup-python@v5
61+
with:
62+
python-version: ${{ matrix.python-version }}
63+
- name: Install hatch
64+
run: |
65+
pip install -U click==8.2.1 hatch
66+
hatch env create default
67+
- name: Test with hatch
68+
run: hatch run test-cov
69+
- uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24
70+
env:
71+
SNOWFLAKE_CLI_CONFIG_V2_ENABLED: 1

0 commit comments

Comments
 (0)