Skip to content

Commit c6bf5ae

Browse files
relative paths
1 parent 7463a0c commit c6bf5ae

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/flights_liquibase.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
#----------------------------------------------
7676
# Run Liquibase connection test
7777
#----------------------------------------------
78-
- name: Run Liquibase migration
78+
- name: Run Liquibase connection test
7979
env:
8080
LIQUIBASE_COMMAND_URL: ${{ secrets.LIQUIBASE_COMMAND_URL }} # alternative: store only the workspace url and compose the Liquibase URL
8181
LIQUIBASE_COMMAND_USERNAME: "token"
@@ -87,7 +87,7 @@ jobs:
8787
# Install dependencies
8888
#----------------------------------------------
8989
- run: python -m pip install --upgrade pip
90-
- run: pip install -r requirements.txt -r dev-requirements.txt
90+
- run: pip install -r flights/flights-liquibase/requirements.txt -r flights/flights-liquibase/dev-requirements.txt
9191

9292
#----------------------------------------------
9393
# run test suite
@@ -98,11 +98,11 @@ jobs:
9898
DATABRICKS_TOKEN: ${{ secrets.DATABRICKS_TOKEN_TST }}
9999
DATABRICKS_CLUSTER_ID: ${{ secrets.DATABRICKS_CLUSTER_ID }}
100100
run: |
101-
pytest tests/
101+
pytest flights/flights-liquibase/tests/
102102
103103
- uses: databricks/setup-cli@main
104104

105-
- run: databricks bundle deploy --target test_automated
105+
- run: cd flights/flights-liquibase; databricks bundle deploy --target test_automated
106106
env:
107107
DATABRICKS_HOST: ${{ secrets.DATABRICKS_HOST }}
108108
DATABRICKS_TOKEN: ${{ secrets.DATABRICKS_TOKEN_TST }}

0 commit comments

Comments
 (0)