mgrady3 / PLEASE

PLEASE: The Python Low-energy Electron Analysis SuitE - Enabling rapid analysis and visualization of LEEM and LEED Data.
GNU General Public License v3.0
16 stars 5 forks source link

DEV: add github action for standard python build #2

Closed mgrady3 closed 3 years ago

mgrady3 commented 3 years ago

This PR introduces a Github Action to run a minimal set of CI tasks for the code in this repository, namely linting via flake8 as well as running tests with unittest.

Currently the flake8 is set to lint only code found under the please directory, which does not yet exist. This is becasue we do not want to run the linter on the old/legacy code, and instead will run the linter and tests against only new code, to be committed in a package called please in future commits/PRs.

This is my first adventure with Github Actions, so there might be some pain points along the way to getting this fully working.