Skip to content
Snippets Groups Projects
Commit 2f4e4f0e authored by Jonathan Windgassen's avatar Jonathan Windgassen
Browse files

Merge branch 'master' of...

parents fa88a40a 676efcb5
No related branches found
No related tags found
No related merge requests found
Pipeline #51255 passed
...@@ -15,6 +15,14 @@ Currently, the code is inspected with the following 5 packages: ...@@ -15,6 +15,14 @@ Currently, the code is inspected with the following 5 packages:
- [pytest](https://docs.pytest.org/en/stable/) - Unit testing - [pytest](https://docs.pytest.org/en/stable/) - Unit testing
- [coverage](https://coverage.readthedocs.io/en/coverage-5.3/) - Uses pytest to identify how much of your code is covered by test-routines - [coverage](https://coverage.readthedocs.io/en/coverage-5.3/) - Uses pytest to identify how much of your code is covered by test-routines
## Quick Starting guide
1. Fork or Clone the required file into your project. You don't need *src/*, *ci/Docker/* and *README.md*
2. All all the Files you want to have to *directories.txt*
3. Build an Docker Image with the [Dockerfile](https://gitlab.version.fz-juelich.de/windgassen1/python-ci-template/-/blob/master/ci/Docker/Dockerfile) and add any packages here that you might need for Unit Testing, etc. You can find the Instuctions under *Packages & Registries - Container Registry*
4. Replace *gitlab.version.fz-juelich.de:5555/windgassen1/python-ci-template* at the to of the gitlab-ci.yml file with the link to your Image (Use the Copy symbol next to the Image to get the URL).
5. Add Badges to you Project. The Instruction can be found below.
## How to use ## How to use
Initially, the pipeline only tests the python file in the *src/* folder. To insert your existing project or to begin a new one just move/create all .py files in the *src/* folder. All tools the code is tested with get this folder as an argument and will check all python files in the folder. If you want to copy the files over to your repo, you need everything except *README.md* and *src/* for the pipeline to work correctly. Initially, the pipeline only tests the python file in the *src/* folder. To insert your existing project or to begin a new one just move/create all .py files in the *src/* folder. All tools the code is tested with get this folder as an argument and will check all python files in the folder. If you want to copy the files over to your repo, you need everything except *README.md* and *src/* for the pipeline to work correctly.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment