Skip to content

Commit

Permalink
test: add retry for unity catalog tests
Browse files Browse the repository at this point in the history
Signed-off-by: Omkar P <[email protected]>
  • Loading branch information
omkar-foss committed Feb 24, 2025
1 parent 750f846 commit 0f7282d
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/python_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,12 @@ jobs:
run: make setup-dat

- name: Run tests
run: uv run --no-sync pytest -m '(unitycatalog_databricks and integration)' --doctest-modules
uses: nick-fields/retry@v3
with:
timeout_seconds: 10
max_attempts: 3
retry_on: error
command: uv run --no-sync pytest -m '(unitycatalog_databricks and integration)' --doctest-modules

test-unitycatalog-oss:
name: Python Build (Python 3.10 Unity Catalog Integration tests)
Expand Down Expand Up @@ -166,7 +171,12 @@ jobs:
run: make setup-dat

- name: Run tests
run: uv run --no-sync pytest -m '(unitycatalog_oss and integration)' --doctest-modules
uses: nick-fields/retry@v3
with:
timeout_seconds: 10
max_attempts: 3
retry_on: error
command: uv run --no-sync pytest -m '(unitycatalog_oss and integration)' --doctest-modules

test-pyspark:
name: PySpark Integration Tests
Expand Down

0 comments on commit 0f7282d

Please sign in to comment.