Rework WAREHOUSE resolver; Implement resource_constraint for snowpark… #156
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pytest | |
on: | |
push: | |
paths: | |
- "**.py" | |
- "**.yml" | |
- "**.yaml" | |
workflow_dispatch: | |
jobs: | |
getting_started: | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
env: | |
SNOWFLAKE_ACCOUNT: ${{ secrets.SNOWFLAKE_ACCOUNT }} | |
SNOWFLAKE_USER: snowddl_test | |
SNOWFLAKE_PASSWORD: ${{ secrets.SNOWFLAKE_PASSWORD }} | |
SNOWFLAKE_ENV_PREFIX: PYTEST | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.11 | |
- name: Install | |
run: pip install -e .[dev] | |
- name: Run pytest | |
run: test/run_test.sh |