Skip to content

Commit 7bfafd7

Browse files
remove multi version testing for integration tests
Signed-off-by: Vikrant Puppala <vikrant.puppala@databricks.com>
1 parent 596dd2d commit 7bfafd7

File tree

1 file changed

+1
-29
lines changed

1 file changed

+1
-29
lines changed

.github/workflows/integration.yml

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,6 @@ jobs:
1010
run-e2e-tests:
1111
runs-on: ubuntu-latest
1212
environment: azure-prod
13-
strategy:
14-
matrix:
15-
dependency-version: ["default", "min"]
16-
17-
name: "E2E Tests (${{ matrix.dependency-version }} deps)"
18-
1913
env:
2014
DATABRICKS_SERVER_HOSTNAME: ${{ secrets.DATABRICKS_HOST }}
2115
DATABRICKS_HTTP_PATH: ${{ secrets.TEST_PECO_WAREHOUSE_HTTP_PATH }}
@@ -51,36 +45,14 @@ jobs:
5145
uses: actions/cache@v4
5246
with:
5347
path: .venv
54-
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ matrix.dependency-version }}-${{ github.event.repository.name }}-${{ hashFiles('**/poetry.lock') }}
48+
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ github.event.repository.name }}-${{ hashFiles('**/poetry.lock') }}
5549
#----------------------------------------------
5650
# install dependencies if cache does not exist
5751
#----------------------------------------------
5852
- name: Install dependencies
5953
run: poetry install --no-interaction --all-extras
6054
#----------------------------------------------
61-
# override with custom dependency versions
62-
#----------------------------------------------
63-
- name: Install Python tools for custom versions
64-
if: matrix.dependency-version != 'default'
65-
run: poetry run pip install toml packaging
66-
67-
- name: Generate requirements file for e2e
68-
if: matrix.dependency-version != 'default'
69-
run: |
70-
poetry run python scripts/dependency_manager.py ${{ matrix.dependency-version }} --output requirements-${{ matrix.dependency-version }}-e2e.txt
71-
echo "Generated requirements for ${{ matrix.dependency-version }} versions (E2E):"
72-
cat requirements-${{ matrix.dependency-version }}-e2e.txt
73-
74-
- name: Override with custom dependency versions
75-
if: matrix.dependency-version != 'default'
76-
run: poetry run pip install -r requirements-${{ matrix.dependency-version }}-e2e.txt
77-
#----------------------------------------------
7855
# run test suite
7956
#----------------------------------------------
80-
- name: Show installed versions
81-
run: |
82-
echo "=== E2E Dependency Version: ${{ matrix.dependency-version }} ==="
83-
poetry run pip list
84-
8557
- name: Run e2e tests
8658
run: poetry run python -m pytest tests/e2e

0 commit comments

Comments
 (0)