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
Github Team
Commits
fc75d280
Commit
fc75d280
authored
Nov 04, 2025
by
Somoji Rao
Browse files
Update .gitlab-ci.yml file
parent
aaf87d19
Pipeline
#12056
canceled with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
fc75d280
stages
:
stages
:
-
lint
-
lint
-
test
-
test
-
run
-
run
#define Python version to use in all jobs
image
:
python:3.11
image
:
python:3.11
before-script
:
before_script
:
-
pip install -r requirements.txt || pip install requests pytest pylint
-
pip install -r requirements.txt
-
pip install pylint pytest
lint
:
lint
:
stage
:
lint
stage
:
lint
script
:
script
:
-
echo "Checking the Code style"
-
echo " Running linter..."
-
pylint *.py --disable=C0114,C0115,C0116
-
pylint *.py --disable=C0114,C0115,C0116
allow_failure
:
false
test
:
test
:
stage
:
test
stage
:
test
script
:
script
:
-
echo "Running main data_fetch script"
-
echo " Running pytest tests..."
-
python data_fetch.py
-
pytest -v
-
echo "Output file generated under ./output/"
allow_failure
:
false
-
find output -type f | head -10
artifacts
:
paths
:
-
output/
when
:
always
run
:
stage
:
run
script
:
-
echo " Running main data_fetch script..."
-
python data_fetch.py
-
echo " Output generated under ./output/"
-
find output -type f | head -10
artifacts
:
paths
:
-
output/
when
:
always
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