Skip to content

fix: summary to use only first 3 characters (#111) #214

fix: summary to use only first 3 characters (#111)

fix: summary to use only first 3 characters (#111) #214

Workflow file for this run

name: ci
on:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Setup Python
uses: actions/setup-python@master
with:
python-version: 3.8
- name: Authenticate google cloud
uses: google-github-actions/auth@v0.4.0
with:
credentials_json: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
- name: Generate coverage report
run: |
pip install '.[test,snowpark,pyspark,pandas,duckdb,bigquery,polars]'
echo "$GOOGLE_APPLICATION_CREDENTIALS" > creds.json
coverage run -m pytest test/unit
coverage xml -o coverage.xml
env:
SF_ACCOUNT: ${{ secrets.SF_ACCOUNT }}
SF_USER: ${{ secrets.SF_USER }}
SF_PASSWORD: ${{ secrets.SF_PASSWORD }}
SF_ROLE: ${{ secrets.SF_ROLE }}
SF_WAREHOUSE: ${{ secrets.SF_WAREHOUSE }}
SF_DATABASE: ${{ secrets.SF_DATABASE }}
SF_SCHEMA: ${{ secrets.SF_SCHEMA }}
GOOGLE_APPLICATION_CREDENTIALS: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: .
env_vars: OS,PYTHON
fail_ci_if_error: true
files: coverage.xml
flags: unittests
name: codecov-umbrella
verbose: true
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.x
- run: pip install mkdocs-material
- run: mkdocs gh-deploy --force