fsmosca / chess-artist

A python script that can annotate chess games in pgn file with static evaluation or search score of an engine, can annotate an epd file with acd, acs, bm, and ce opcodes, can test engine with epd test suite and can generate chess puzzles.
GNU General Public License v3.0
70 stars 18 forks source link

Add GitHub CI pipeline #74

Closed ddugovic closed 4 years ago

ddugovic commented 4 years ago

Code linters and automated tests are useful for helping new developers get acquainted with a repository.

Python does not allow importing file names which contain hyphens, so producing testable artifacts (which import the main source files) requires either extracting pieces of the main python file, or renaming it (to allow other files to import chess_artist): https://stackoverflow.com/a/8350881

fsmosca commented 4 years ago

Renaming the source file is fine with me.

On github CI, I need to understand it first. Read about it couple of days ago, but have not fully understood it yet.

If you submit a PR without CI, with filename rename, I will merge it.

Thanks.