Skip to content

Commit c28d4cc

Browse files
author
AhmedYasserrr
committed
fix: import test in CI by avoiding local pyectool/ shadowing:
- Prevented the local source directory from interfering with import test. - Changed working directory in GitHub Actions to ensure the installed package is used.
1 parent 52f553b commit c28d4cc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/pip.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,6 @@ jobs:
4343
4444
- name: Test import
4545
run: |
46-
python -c "import pyectool; print('pyectool imported')"
46+
mkdir /tmp/testenv
47+
cd /tmp/testenv
48+
python -c "import pyectool; print('pyectool import successful')"

0 commit comments

Comments
 (0)