Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/acceptance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
HATCH_VERBOSE: "2"
HATCH_VERSION: "1.16.5"

jobs:
integration:
if: github.event_name == 'pull_request' && github.event.pull_request.draft == false
Expand All @@ -38,7 +42,7 @@ jobs:
python-version: '3.10'

- name: Install hatch
run: pip install hatch==1.9.4 'click<8.3.0' # https://github.com/pallets/click/issues/3065
run: pip install "hatch==${HATCH_VERSION}"

- name: Fetch relevant branches
run: |
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ permissions:
concurrency:
group: single-acceptance-job-per-repo

env:
HATCH_VERBOSE: "2"
HATCH_VERSION: "1.16.5"

jobs:
integration:
environment: account-admin
Expand All @@ -32,7 +36,7 @@ jobs:
python-version: '3.10'

- name: Install hatch
run: pip install hatch==1.9.4 'click<8.3.0' # https://github.com/pallets/click/issues/3065
run: pip install "hatch==${HATCH_VERSION}"

- name: Run nightly tests
uses: databrickslabs/sandbox/acceptance@acceptance/v0.4.2
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ on:
- main

env:
HATCH_VERSION: 1.9.4
HATCH_VERBOSE: "2"
HATCH_VERSION: "1.16.5"

jobs:
ci:
Expand All @@ -38,7 +39,7 @@ jobs:
python-version: ${{ matrix.pyVersion }}

- name: Install hatch
run: pip install hatch==$HATCH_VERSION 'click<8.3.0' # https://github.com/pallets/click/issues/3065
run: pip install "hatch==${HATCH_VERSION}"

- name: Run unit tests
run: hatch run test
Expand All @@ -64,7 +65,7 @@ jobs:
python-version: 3.10.x

- name: Install hatch
run: pip install hatch==$HATCH_VERSION 'click<8.3.0' # https://github.com/pallets/click/issues/3065
run: pip install "hatch==${HATCH_VERSION}"

- name: Reformat code
run: make fmt
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
tags:
- 'v*'

env:
HATCH_VERBOSE: "2"
HATCH_VERSION: "1.16.5"

jobs:
publish:
runs-on:
Expand All @@ -27,7 +31,7 @@ jobs:

- name: Build wheels
run: |
pip install hatch==1.9.4 'click<8.3.0' # https://github.com/pallets/click/issues/3065
pip install "hatch==${HATCH_VERSION}"
hatch build

- name: Draft release
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/solacc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
schedule:
- cron: '0 7 * * *'

env:
HATCH_VERBOSE: "2"
HATCH_VERSION: "1.16.5"

jobs:
solacc:
runs-on: ubuntu-latest
Expand All @@ -22,7 +26,7 @@ jobs:
python-version: '3.10'

- name: Install hatch
run: pip install hatch==1.9.4 'click<8.3.0' # https://github.com/pallets/click/issues/3065
run: pip install "hatch==${HATCH_VERSION}"

- name: Verify linters on solution accelerators
run: make solacc
Expand Down
Loading