Skip to content

Update cryptography requirement from <42.0.0,>=41.0.0 to >=42.0.8,<43.0.0 #1693

Update cryptography requirement from <42.0.0,>=41.0.0 to >=42.0.8,<43.0.0

Update cryptography requirement from <42.0.0,>=41.0.0 to >=42.0.8,<43.0.0 #1693

Workflow file for this run

name: build
on:
pull_request:
types: [ opened, synchronize ]
push:
branches: [ main ]
jobs:
test-pipeline:
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 4
matrix:
python-version: [ '3.9' ]
os: [ ubuntu-latest, windows-latest ]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip' # caching pip dependencies
cache-dependency-path: setup.py
- name: Install pip
run: python -m pip install --upgrade pip
- name: Install package and dependencies
run: pip install -U -e ".[dev]"
- name: Lint
run: |
prospector --profile prospector.yaml
black --check .
- name: Run unit tests
run: |
git config --global init.defaultBranch main # to avoid verbose deprecation messages in CI pipeline
pytest tests/unit --cov dbx -n auto
- name: Run integrity tests
run: |
python -m dbx --help
python -c "import dbx; print(dbx.__version__)"
- name: Publish test coverage
if: startsWith(matrix.os,'ubuntu')
uses: codecov/codecov-action@v1