From 5ae654e0dcf2195c14d4b7be4b71f82b94e6b8ed Mon Sep 17 00:00:00 2001 From: nithinkdb Date: Fri, 15 Sep 2023 13:42:04 -0700 Subject: [PATCH] Added workflow --- .github/workflows/code-quality-checks.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/code-quality-checks.yml b/.github/workflows/code-quality-checks.yml index 31c2b1fd..fe438797 100644 --- a/.github/workflows/code-quality-checks.yml +++ b/.github/workflows/code-quality-checks.yml @@ -9,6 +9,11 @@ on: jobs: run-unit-tests: runs-on: ubuntu-latest + environment: azure-prod + env: + host: ${{ secrets.DATABRICKS_HOST }} + http_path: ${{ secrets.TEST_PECO_WAREHOUSE_HTTP_PATH }} + access_token: ${{ secrets.DATABRICKS_TOKEN }} strategy: matrix: python-version: [3.7, 3.8, 3.9, "3.10", "3.11"] @@ -59,6 +64,11 @@ jobs: #---------------------------------------------- - name: Run tests run: poetry run python -m pytest tests/unit + #---------------------------------------------- + # run test suite + #---------------------------------------------- + - name: Run tests e2e + run: poetry run python -m pytest tests/e2e check-linting: runs-on: ubuntu-latest strategy: