Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
elcorto committed Apr 24, 2024
1 parent d24ddd8 commit 307ae14
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: install deps
run: |
pip install -e ".[test,dask,dev]"
- name: install ruff
run: |
# Install the ruff version from .pre-commit-config.yaml here. Using
Expand All @@ -42,9 +38,16 @@ jobs:
# [1] https://github.com/dependabot/dependabot-core/issues/1524
ruff_version=$(grep -E -A1 'astral-sh/ruff-pre-commit' \
.pre-commit-config.yaml | sed -nre "s/^\s+rev:.+'v([0-9\.]+)'/\1/p")
[ -n "$ruff_version" ] || echo "error parsing ruff version" && exit 1
if [ -n "$ruff_version" ]; then
echo "error parsing ruff version"
exit 1
fi
pip install "ruff==$ruff_version"
- name: install deps
run: |
pip install -e ".[test,dask,dev]"
- name: lint
run: |
# Check for lint rules.
Expand Down

0 comments on commit 307ae14

Please sign in to comment.