From bbf93512ee3564d9c1a8ad1ee3b46aa00d207453 Mon Sep 17 00:00:00 2001 From: ashMajeed Date: Sun, 17 Jul 2022 21:03:13 +0100 Subject: [PATCH 1/3] test --- src/uk/ac/qub/eeecs/dave/Calculator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uk/ac/qub/eeecs/dave/Calculator.java b/src/uk/ac/qub/eeecs/dave/Calculator.java index ef45f59..2ba5161 100644 --- a/src/uk/ac/qub/eeecs/dave/Calculator.java +++ b/src/uk/ac/qub/eeecs/dave/Calculator.java @@ -2,7 +2,7 @@ public class Calculator { public int add(int a, int b) { - return a+b+1; + return a+b; } public int sub(int a, int b) { From 8413b524f0eba26f269a15bc8717043645fc1c43 Mon Sep 17 00:00:00 2001 From: Ayesha Abdul Majeed Date: Wed, 20 Jul 2022 15:18:55 +0100 Subject: [PATCH 2/3] Add .circleci/config.yml --- .circleci/config.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..6554e1f --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,26 @@ +# Use the latest 2.1 version of CircleCI pipeline process engine. +# See: https://circleci.com/docs/2.0/configuration-reference +version: 2.1 + +# Define a job to be invoked later in a workflow. +# See: https://circleci.com/docs/2.0/configuration-reference/#jobs +jobs: + say-hello: + # Specify the execution environment. You can specify an image from Dockerhub or use one of our Convenience Images from CircleCI's Developer Hub. + # See: https://circleci.com/docs/2.0/configuration-reference/#docker-machine-macos-windows-executor + docker: + - image: cimg/base:stable + # Add steps to the job + # See: https://circleci.com/docs/2.0/configuration-reference/#steps + steps: + - checkout + - run: + name: "Say hello" + command: "echo Hello, World!" + +# Invoke jobs via workflows +# See: https://circleci.com/docs/2.0/configuration-reference/#workflows +workflows: + say-hello-workflow: + jobs: + - say-hello From e54794c6f196410040e835e306ba0c00685445bd Mon Sep 17 00:00:00 2001 From: Ayesha Abdul Majeed Date: Wed, 20 Jul 2022 15:19:46 +0100 Subject: [PATCH 3/3] Add .circleci/config.yml