Skip to content

Commit 51e77ad

Browse files
committed
ci: use PYTHONPATH=. instead of pip install -e . (rules/ conflicts with setuptools discovery)
1 parent 4e0a464 commit 51e77ad

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ jobs:
2626
python -m pip install --upgrade pip setuptools wheel
2727
pip install -r requirements.txt
2828
pip install pytest flake8
29-
pip install -e .
3029
3130
- name: Lint with flake8
3231
run: |
33-
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
34-
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
32+
flake8 yaraforge/ --count --select=E9,F63,F7,F82 --show-source --statistics
33+
flake8 yaraforge/ --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
3534
3635
- name: Run tests
3736
run: pytest tests/ -v --tb=short
3837
env:
38+
PYTHONPATH: .
3939
OPENAI_API_KEY: sk-dummy-key-for-ci-testing-only

0 commit comments

Comments
 (0)