From 9d7cbf536e8b7d7a13c93bd31bb31091ead6a4b0 Mon Sep 17 00:00:00 2001 From: "akshay.sharma" Date: Tue, 4 Mar 2025 14:26:48 +0530 Subject: [PATCH 1/2] test --- .github/workflows/run-tests.yaml | 6 +++--- .github/workflows/stage.yaml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml index 23eca41..59c4dd2 100644 --- a/.github/workflows/run-tests.yaml +++ b/.github/workflows/run-tests.yaml @@ -2,9 +2,9 @@ name: Unit tests on: workflow_dispatch: pull_request: - paths: - - 'src/**' - - '.github/workflows/run-tests.yml' + branches: + - 'release' + - 'main' defaults: run: diff --git a/.github/workflows/stage.yaml b/.github/workflows/stage.yaml index 252278a..7c58c74 100644 --- a/.github/workflows/stage.yaml +++ b/.github/workflows/stage.yaml @@ -32,7 +32,7 @@ jobs: # Deploy the bundle to the "qa" target as defined # in the bundle's settings file. - - run: databricks bundle deploy -t prod1 + - run: databricks bundle deploy -t stage working-directory: . env: DATABRICKS_TOKEN: ${{ secrets.DEV_TOKEN }} @@ -60,7 +60,7 @@ jobs: # Run the Databricks workflow named "my-job" as defined in the # bundle that was just deployed. - - run: databricks bundle run de_stack_job -t prod1 + - run: databricks bundle run de_stack_job -t stage working-directory: . env: DATABRICKS_TOKEN: ${{ secrets.DEV_TOKEN}} From 5e21591eef82b2654e6768d1ba3db4a6ec2c3989 Mon Sep 17 00:00:00 2001 From: "akshay.sharma" Date: Tue, 4 Mar 2025 14:29:43 +0530 Subject: [PATCH 2/2] changes --- requirements.txt | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 requirements.txt diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..8350502 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +pytz~=2022.2.1 +pytest>=7.1.2