From ceee4e6802bfa5bac5e6ecc21cda934cbede3ce7 Mon Sep 17 00:00:00 2001 From: "Dong, Bo (PG/T - Comp Sci & Elec Eng)" <bd00531@surrey.ac.uk> Date: Fri, 19 May 2023 22:59:37 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..83d6917 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,23 @@ +stages: + - build + - test + - deploy + +build: + stage: build + script: + - echo "Building the application..." + - # Add build commands if necessary + +test: + stage: test + script: + - echo "Running tests..." + - # Add test commands if necessary + +deploy: + stage: deploy + script: + - echo "Deploying the application..." + - python -m pip install -r requirements.txt + - python run.py -- GitLab