-
Notifications
You must be signed in to change notification settings - Fork 235
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #195 from Snowflake-Labs/dev
Code review for 3.6.0
- Loading branch information
Showing
18 changed files
with
137 additions
and
100 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: 'Dependency Review' | ||
on: [pull_request] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
dependency-review: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 'Checkout Repository' | ||
uses: actions/checkout@v3 | ||
- name: 'Dependency Review' | ||
uses: actions/dependency-review-action@v3 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,28 @@ | ||
name: Python tests | ||
name: pytest | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: ["3.7", "3.8", "3.9", "3.10"] | ||
github-runner: ['ubuntu-latest', 'windows-latest'] | ||
|
||
runs-on: ${{ matrix.github-runner }} | ||
python-version: ["3.8", "3.9", "3.10"] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Update pip | ||
run: | | ||
python -m pip install --upgrade pip | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install -e .[dev] | ||
- name: Test with pytest | ||
run: | | ||
pytest | ||
- name: Test run | ||
run: | | ||
schemachange --help |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# See https://pre-commit.com for more information | ||
# See https://pre-commit.com/hooks.html for more hooks | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v3.2.0 | ||
hooks: | ||
- id: trailing-whitespace | ||
- id: end-of-file-fixer | ||
- repo: https://github.com/asottile/setup-cfg-fmt | ||
rev: v2.4.0 | ||
hooks: | ||
- id: setup-cfg-fmt |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
This software includes the following python packages: | ||
Name License Author URL | ||
Jinja2 BSD License Armin Ronacher https://palletsprojects.com/p/jinja/ | ||
PyYAML MIT License Kirill Simonov https://pyyaml.org/ | ||
pandas BSD License The Pandas Development Team https://pandas.pydata.org | ||
This software includes the following python packages: | ||
|
||
Name License Author URL | ||
Jinja2 BSD License Armin Ronacher https://palletsprojects.com/p/jinja/ | ||
PyYAML MIT License Kirill Simonov https://pyyaml.org/ | ||
pandas BSD License The Pandas Development Team https://pandas.pydata.org | ||
pytest MIT License Holger Krekel, Bruno Oliveira, Ronny Pfannschmidt, https://docs.pytest.org/en/latest/ | ||
Floris Bruynooghe, Brianna Laugher, Florian Bruhin and others | ||
snowflake-connector-python Apache Software License Snowflake, Inc https://www.snowflake.com/ | ||
|
||
Floris Bruynooghe, Brianna Laugher, Florian Bruhin and others | ||
snowflake-connector-python Apache Software License Snowflake, Inc https://www.snowflake.com/ |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{% macro create_stage(stage_name, URL) -%} | ||
CREATE OR REPLACE STAGE {{stage_name}} | ||
URL = '{{URL}}'; | ||
{%- endmacro %} | ||
{%- endmacro %} |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
snowflake-connector-python>=2.8,<4.0 | ||
Jinja2~=3.0 | ||
pandas~=1.3 | ||
PyYAML~=6.0 | ||
Jinja2~=3.0 | ||
snowflake-connector-python>=2.8,<4.0 |
Oops, something went wrong.