tanliyon / gym-xiangqi

This repo sets up the environment to play Xiang Qi (chinese chess) following the OpenAI Gym framework.
GNU Lesser General Public License v3.0
32 stars 6 forks source link

Add Radon Analysis to CI #12

Closed tanliyon closed 3 years ago

tanliyon commented 3 years ago

Description

This PR adds radon analysis, which includes cyclomatic complexity, raw metrics like code lines, comment lines, etc, halstead complexity, and maintainability index into the CI. These analysis will not fail for now, as there's no clear threshold that I can set for it to fail. In the future, we can gauge the right threshold to set and make it fail CI if it exceed certain criterias.

Type of change

How has this been tested?

CI