Skip to content

Delete unnecessary wss #86

Delete unnecessary wss

Delete unnecessary wss #86

Workflow file for this run

name: Snowpipe Python SDK Tests
on:
push:
branches: [ master ]
pull_request:
branches: '**'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
python-version: [ '3.8', '3.9', '3.10' ]
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Install Python
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
architecture: 'x64'
- name: Display Python version
run: python -c "import sys; import os; print(\"\n\".join(os.environ[\"PATH\"].split(os.pathsep))); print(sys.version); print(sys.executable);"
- name: Decrypt profile.json
env:
DECRYPTION_PASSPHRASE: ${{ secrets.PARAMETERS_PY_DECRYPT_PASSPHRASE }}
run: |
./scripts/decrypt_secret.sh
- name: Generate Pytest coverage report
run: |
pip install pytest
pip install wheel
pip install pytest-cov
pip install .
pip install snowflake-connector-python
python -m pytest --cov=./ --cov-report=xml --tb=native tests/
# pytest --cov=./ --cov-report=xml --tb=native tests
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
files: ./snowflake-ingest-python-coverage.xml
name: codecov-snowpipe-python-sdk
fail_ci_if_error: true
verbose: true