File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 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"
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 }}
You can’t perform that action at this time.
0 commit comments