Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
software-project-WS25
Telegram Team
Commits
7ae89f3b
Commit
7ae89f3b
authored
Nov 03, 2025
by
Gadhave
Browse files
Update .gitlab-ci.yml file
parent
e0424dc9
Pipeline
#12039
passed with stages
in 21 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
7ae89f3b
stages
:
stages
:
-
lint
-
lint
#
-test
-
test
# -build
# -build
# - deploy
# - deploy
...
@@ -25,4 +25,18 @@ lint:
...
@@ -25,4 +25,18 @@ lint:
-
echo "Linting Python code.."
-
echo "Linting Python code.."
-
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
-
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
-
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
-
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
-
echo "Done running the Python Lint stage"
-
echo "Done running the Python Lint stage"
\ No newline at end of file
test
:
stage
:
test
image
:
python:3.10
before_script
:
-
pip install --upgrade pip
-
pip install pytest
-
echo "Running Tests"
-
echo "PYTHONPATH:" ${PYTHONPATH}
-
echo "PWD=$(pwd)"
script
:
-
echo "Running PyTests"
after_script
:
-
echo "Tests completed succesfully"
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment