From 1a69ed000e008f1d138bc4301ac66bde420e8ebf Mon Sep 17 00:00:00 2001 From: alex-rakowski Date: Wed, 26 Jun 2024 20:10:18 +0100 Subject: [PATCH] removing quick test and reverting Tests behaviour --- .github/workflows/quick_test.yml | 49 -------------------------------- .github/workflows/tests.yml | 4 +-- 2 files changed, 1 insertion(+), 52 deletions(-) delete mode 100644 .github/workflows/quick_test.yml diff --git a/.github/workflows/quick_test.yml b/.github/workflows/quick_test.yml deleted file mode 100644 index 53c420e..0000000 --- a/.github/workflows/quick_test.yml +++ /dev/null @@ -1,49 +0,0 @@ -name: Quick Test - -on: - push: - workflow_dispatch: -jobs: - test: - runs-on: ${{ matrix.os }} - defaults: - run: - shell: bash -l {0} - strategy: - fail-fast: false - matrix: - os: ["ubuntu-latest"] - python-version: ["3.11"] - exclude: - # Python 3.11 build on macOS times out for some reason - # xref https://github.com/coiled/dask-snowflake/pull/56 - - os: macos-latest - python-version: "3.11" - - steps: - - name: Checkout source - uses: actions/checkout@v2 - - - name: Setup Conda Environment - uses: conda-incubator/setup-miniconda@v2 - with: - miniforge-variant: Mambaforge - miniforge-version: latest - use-mamba: true - channel-priority: strict - python-version: ${{ matrix.python-version }} - environment-file: ci/environment-${{ matrix.python-version }}.yaml - activate-environment: test-environment - auto-activate-base: false - - - name: Install dask_snowflake - run: python -m pip install -e . - - - name: Run tests - env: - SNOWFLAKE_USER: ${{ secrets.SNOWFLAKE_USER }} - SNOWFLAKE_PASSWORD: ${{ secrets.SNOWFLAKE_PASSWORD }} - SNOWFLAKE_ACCOUNT: ${{ secrets.SNOWFLAKE_ACCOUNT }} - SNOWFLAKE_WAREHOUSE: ${{ secrets.SNOWFLAKE_WAREHOUSE }} - SNOWFLAKE_ROLE: ${{ secrets.SNOWFLAKE_ROLE }} - run: pytest dask_snowflake \ No newline at end of file diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index aa8fca6..ee604fd 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,9 +1,7 @@ name: Tests on: - pull_request: - branches: - - main + push: workflow_dispatch: jobs: test: