Commit 7ae89f3b authored by Gadhave's avatar Gadhave
Browse files

Update .gitlab-ci.yml file

parent e0424dc9
Pipeline #12039 passed with stages
in 21 seconds
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"
Supports Markdown
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