zztin / ctimer

This is a python implementation of a famous time management technique. CTimer helps you keep track of your productivity during the day, and help you set realistic goals for your day.
Apache License 2.0
0 stars 1 forks source link

[Github Action] CI failing due to module "pandas" not imported #25

Closed zztin closed 3 years ago

zztin commented 4 years ago

Description

Describe the bug Pandas dependency is updated in requirement_dev.txt but while running action, it fails with error:

____ ERROR collecting tests/testctimer.py ____ ImportError while importing test module '/home/runner/work/ctimer/ctimer/tests/test_ctimer.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /opt/hostedtoolcache/Python/3.7.8/x64/lib/python3.7/importlib/init.py:127: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_ctimer.py:8: in from concentratetimer import concentratetimer concentratetimer/concentratetimer.py:7: in import concentratetimer.ctimer_db as db concentratetimer/ctimer_db.py:8: in import pandas as pd E ModuleNotFoundError: No module named 'pandas'

Steps to Reproduce

Check this page: https://github.com/zztin/ctimer/runs/967596325?check_suite_focus=true

tai271828 commented 4 years ago

If I understand correctly, we have fixed this by adding pip manipulation in workflow configuration?