Skip to content

Commit

Permalink
Update databricks_pull_request_tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
alcole authored Apr 17, 2024
1 parent a9b0e14 commit 875a3bc
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/databricks_pull_request_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,46 @@ jobs:
timeout-minutes: 15

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.9'
cache: 'pip' # caching pip dependencies
- run: pip install -r requirements.txt
-name: linting
uses: Silleellie/pylint-github-action@v2
with:
lint-path: notebooks
python-version: 3.9
readme-path: README.md
# Text to display in the badge
#
# Optional, Default: PyLint
badge-text: PyLint
# Color of the badge for pylint scores < 5.
# Hex, rgb, rgba, hsl, hsla and css named colors can all be used
#
# Optional, Default: red
color-bad-score: red

# Color of the badge for pylint scores in range [5,8).
# Hex, rgb, rgba, hsl, hsla and css named colors can all be used
#
# Optional, Default: orange
color-ok-score: orange

# Color of the badge for pylint scores in range [8,10).
# Hex, rgb, rgba, hsl, hsla and css named colors can all be used
#
# Optional, Default: yellow
color-good-score: yellow

# Color of the badge for pylint scores == 10.
# Hex, rgb, rgba, hsl, hsla and css named colors can all be used
#
# Optional, Default: brightgreen
color-perfect-score: brightgreen

- name: Checkout repo
uses: actions/checkout@v4
- name: Run test notebook
Expand Down

0 comments on commit 875a3bc

Please sign in to comment.