Commit 09b99f69 authored by Christian Rohlfing's avatar Christian Rohlfing
Browse files

Modified Gitlab CI for good

parent 4fc838a7
Pipeline #455467 canceled with stages
in 2 minutes and 44 seconds
......@@ -41,8 +41,8 @@ test-coverage:
script:
- pip3 install pytest pytest-cov
- cd /app
- pytest --cov=./ tests
- coverage xml
- python3 -m pytest --cov=./ tests
- python3 -m coverage xml
artifacts:
reports:
cobertura: coverage.xml
......@@ -34,11 +34,11 @@ RUN useradd -m friendlyscanner
USER friendlyscanner
# Copy all files
COPY . /app
COPY --chown=friendlyscanner . /app
WORKDIR /app
# Entrypoint is python
ENTRYPOINT ["python3"]
# Standard command is batch.py
CMD ["./batch.py", "--help"]
\ No newline at end of file
CMD ["./batch.py", "--help"]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment