Commit d9f635db authored by hasan.bahjat's avatar hasan.bahjat 💬

Delete .gitlab-ci.yml

parent ac08a527
stages:
- install
- test
- lint
variables:
# Define Python version
PYTHON_VERSION: "3.9"
# Install dependencies
install_dependencies:
stage: install
image: python:${PYTHON_VERSION}
script:
- python -m venv venv
- source venv/bin/activate
- pip install --upgrade pip
- pip install -r requirements.txt
artifacts:
paths:
- venv/
# Run tests (using pytest, for example)
run_tests:
stage: test
image: python:${PYTHON_VERSION}
script:
- source venv/bin/activate
- pytest --maxfail=1 --disable-warnings -q
dependencies:
- install_dependencies
# Lint the code (using flake8, for example)
lint_code:
stage: lint
image: python:${PYTHON_VERSION}
script:
- source venv/bin/activate
- pip install flake8
- flake8 . --max-line-length=120
dependencies:
- install_dependencies
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