Skip to content

Commit 66e1d7a

Browse files
Update pipelines.yml
1 parent 74fb740 commit 66e1d7a

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/pipelines.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,10 @@ jobs:
3737
run: |
3838
databricks repos update --path $DEV_DIRECTORY --branch "${{github.ref_name}}"
3939
40-
- name: Run Tests
41-
run: |
42-
nutter run "$DEV_DIRECTORY/unit-tests/" --cluster_id $CLUSTER_ID --recursive --junit_report --timeout 500
43-
4440
- name: Run a databricks notebook
4541
uses: databricks/run-notebook@v0
4642
with:
47-
local-notebook-path: unit-tests/test_with_percent_run.py
43+
local-notebook-path: $DEV_DIRECTORY/unit-tests/test_with_percent_run.py
4844
databricks-host: $DATABRICKS_HOST
4945
databricks-token: $DATABRICKS_TOKEN
5046
git-commit: ${{ github.event.pull_request.head.sha }}
@@ -53,7 +49,12 @@ jobs:
5349
"num_workers": 1,
5450
"spark_version": "10.4.x-scala2.12",
5551
"node_type_id": "Standard_D3_v2"
56-
}
52+
}
53+
- name: Run Tests
54+
run: |
55+
nutter run "$DEV_DIRECTORY/unit-tests/" --cluster_id $CLUSTER_ID --recursive --junit_report --timeout 500
56+
57+
5758
OnRelease:
5859
if: startsWith(github.ref_name, 'main')
5960
environment: prod

0 commit comments

Comments
 (0)