frostming / marko

A markdown parser with high extensibility.

Home Page:https://marko-py.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Run `pytest` locally fails

mabdelaal86 opened this issue · comments

Hi,

I would like to know how to run pytest for the project.
I ran pytest test/ and pdm run -v pytest --cov=marko/ --cov-report=xml tests, but both failed.

I have synced the project with pdm sync; Should I use a different command?

I'm not familiar with pdm. So, sorry if my questions seem silly.
It is beneficial if there is a Makefile for most used commands, or a 'How to Contribute' document, so, beginners could easily run the most common commands.

Yes, the devguide is missing. But as a general suggestion when that is not available you can find it in the CI script of the project
.github/workflows/ci.yaml:

pdm sync -d -G toc -G codehilite
pdm run -v pytest tests