Skip to content

Bump certifi from 2020.12.5 to 2023.7.22 #39

Bump certifi from 2020.12.5 to 2023.7.22

Bump certifi from 2020.12.5 to 2023.7.22 #39

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python package
on:
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt -r requirements-dev.txt
printf "[DEFAULT]\nhost = https://fake-org.cloud.databricks.com\nprod_folder = /databricks/folder\n" > ~/.storkcfg
- name: Lint with flake8
run: |
flake8 stork tests
- name: Test with pytest
run: |
pytest -v --deselect tests/test_token_permissions.py
- name: Verify build
run: |
pip install --upgrade pip wheel twine
python setup.py sdist bdist_wheel