You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run pytest ./code/tests.py
pytest ./code/tests.py
shell: /usr/bin/bash -e {0}
env:
pythonLocation: /opt/hostedtoolcache/Python/3.9.18/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.9.18/x64/lib
============================= test session starts ==============================
platform linux -- Python 3.9.18, pytest-7.4.3, pluggy-1.3.0
rootdir: /home/runner/work/SolvingMicroDSOPs-LifeCycle/SolvingMicroDSOPs-LifeCycle
collected 0 items / 1 error
==================================== ERRORS ====================================
________________________ ERROR collecting code/tests.py ________________________
ImportError while importing test module '/home/runner/work/SolvingMicroDSOPs-LifeCycle/SolvingMicroDSOPs-LifeCycle/code/tests.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/importlib/__init__.py:1[2](https://github.com/econ-ark/SolvingMicroDSOPs-LifeCycle/actions/runs/7010871614/job/19072314000#step:5:2)7: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
E ModuleNotFoundError: No module named 'code.tests'; 'code' is not a package
=========================== short test summary info ============================
ERROR code/tests.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 0.0[6](https://github.com/econ-ark/SolvingMicroDSOPs-LifeCycle/actions/runs/7010871614/job/19072314000#step:5:6)s ===============================
Error: Process completed with exit code 2.
The text was updated successfully, but these errors were encountered:
Any idea why this doesn't work?
The text was updated successfully, but these errors were encountered: