@@ -23,17 +23,38 @@ jobs:
23
23
24
24
- name : Install Dependencies (Pure Python)
25
25
if : ${{ !matrix.cython }}
26
- run : poetry install --without dev,docs
26
+ run : |
27
+ poetry install --without dev,docs
28
+ poetry run python -c "import sys; print('Python version:', sys.version)"
29
+ poetry run python -c "import iscc_core; print('iscc_core version:', iscc_core.__version__)"
27
30
28
31
- name : Install Dependencies (with Cython)
29
32
if : ${{ matrix.cython }}
30
- run : poetry install --without dev,docs --extras cython
33
+ run : |
34
+ poetry install --without dev,docs --extras cython
35
+ poetry run python -c "import sys; print('Python version:', sys.version)"
36
+ poetry run python -c "import iscc_core; print('iscc_core version:', iscc_core.__version__)"
37
+ poetry run python -c "import iscc_core; print('Using Cython:', iscc_core.USING_CYTHON)"
38
+ poetry run python -c "import iscc_core; print('iscc_core file:', iscc_core.__file__)"
39
+ poetry run python -c "import iscc_core.cdc; print('cdc module:', iscc_core.cdc.__file__)"
31
40
32
41
- name : Run Tests
33
42
run : |
34
43
poetry run python -c "import iscc_core; print(f'Using Cython: {iscc_core.USING_CYTHON}')"
35
44
poetry run pytest -v tests
36
45
46
+ - name : Debug Info
47
+ if : failure()
48
+ run : |
49
+ echo "Current directory:"
50
+ pwd
51
+ echo "Directory contents:"
52
+ ls -R
53
+ echo "Python version:"
54
+ python --version
55
+ echo "Pip list:"
56
+ pip list
57
+
37
58
- name : Upload coverage to Codecov
38
59
uses : codecov/codecov-action@v3
39
60
if : matrix.os == 'ubuntu-20.04' && matrix.python-version == '3.9' && !matrix.cython
0 commit comments