From a11c62b443dfd31dbd0d9b20a196ea41de5e5565 Mon Sep 17 00:00:00 2001 From: imbilalbutt Date: Wed, 20 Dec 2023 13:56:48 +0100 Subject: [PATCH] project-work5: testing ci-cd --- .github/workflows/pipeline-cicd.yml | 5 ++++- project/pipeline.sh | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pipeline-cicd.yml b/.github/workflows/pipeline-cicd.yml index ab5f1f39cd..cb513299d8 100644 --- a/.github/workflows/pipeline-cicd.yml +++ b/.github/workflows/pipeline-cicd.yml @@ -36,6 +36,9 @@ jobs: if [ -f requirements.txt ]; then pip install -r requirements.txt; fi echo "Environment is set up!" + - name: Grant Access + run: chmod +x ./project + - name: Step#4-Build python project/pipeline.sh run: | echo The Build process about to begin! @@ -45,5 +48,5 @@ jobs: - run: echo The Testing process about to begin! - name: Step#4-Build python project/pipeline.sh run: | - bash tests.sh + bash ./project/tests.sh echo "Testing process completed!" \ No newline at end of file diff --git a/project/pipeline.sh b/project/pipeline.sh index bdb0dc37d8..df8857c705 100644 --- a/project/pipeline.sh +++ b/project/pipeline.sh @@ -1,3 +1,3 @@ #!/bin/bash -#! Test comment to trigger cicd-1 +#! Test comment to trigger cicd-123 python3 pipeline.py