Skip to content

Commit afc11c3

Browse files
committed
added poetry run to all Linting Checks in test.yml to run them inside poetry managed virtualenv
1 parent e681d1f commit afc11c3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ jobs:
1919
python -m pip install --upgrade setuptools wheel virtualenv
2020
pip install poetry
2121
poetry config virtualenvs.create true
22-
poetry install
22+
poetry install --with dev
2323
- name: Install Pandoc # apt version seems too old
2424
uses: r-lib/actions/setup-pandoc@v2
2525
- name: Linting Checks
2626
run: |
27-
black --check .
28-
isort --check-only in2lambda docs
29-
pydocstyle --convention=google in2lambda
27+
poetry run black --check .
28+
poetry run isort --check-only in2lambda docs
29+
poetry run pydocstyle --convention=google in2lambda
3030
- name: pytest
3131
run: pytest --cov-report=xml:coverage.xml --cov=in2lambda --doctest-modules in2lambda
3232
- name: Upload coverage to Codecov

0 commit comments

Comments
 (0)