Revert "can only use paths XOR ignore-paths (not both)" #1071
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: linting | ||
on: | ||
push: | ||
paths-ignore: | ||
- "**.md" | ||
- "**.rst" | ||
- "**.ipynb" | ||
paths: | ||
- "deeprankcore/**" | ||
- "tests/**" | ||
- ".github/workflows/linting.yml" | ||
branches: | ||
- main | ||
pull_request: | ||
types: [opened, synchronize, reopened, ready_for_review] | ||
paths-ignore: | ||
- "**.md" | ||
- "**.rst" | ||
- "**.ipynb" | ||
paths: | ||
- "deeprankcore/**" | ||
- "tests/**" | ||
- ".github/workflows/linting.yml" | ||
jobs: | ||
build: | ||
if: github.event.pull_request.draft == false | ||
name: Linting build | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: ["ubuntu-latest"] | ||
python-version: [3.9] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ./.github/actions/install-python-and-package | ||
- name: Check style against standards using prospector | ||
run: prospector --die-on-tool-error |