Bump pyflakes from 2.5.0 to 3.2.0 #1690
Workflow file for this run
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
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 |