From 5feb0042ab4bddec204f0c20375add5d8065f8a2 Mon Sep 17 00:00:00 2001 From: SESUGH-OPS Date: Fri, 20 Sep 2024 18:31:26 +0100 Subject: [PATCH 1/5] edited successfully --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index ecccc98d..3afd138d 100644 --- a/README.md +++ b/README.md @@ -1 +1,2 @@ # GitHub Actions Lab 1 +- Successsfully gone through the workflow From 8a19340066a40ffb31c3dd734442c3b793a69a44 Mon Sep 17 00:00:00 2001 From: SESUGH-OPS Date: Fri, 20 Sep 2024 18:34:31 +0100 Subject: [PATCH 2/5] added pip install --- .github/workflows/python-workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-workflow.yml b/.github/workflows/python-workflow.yml index bb38dd0f..c752ea88 100644 --- a/.github/workflows/python-workflow.yml +++ b/.github/workflows/python-workflow.yml @@ -15,4 +15,4 @@ jobs: - name: Install dependencies run: | - pip install -r requirements.txt + ./pip install -r requirements.txt From 5ddb6f4ba348b747728a726962985f9cacfd97b6 Mon Sep 17 00:00:00 2001 From: SESUGH-OPS Date: Fri, 20 Sep 2024 20:32:29 +0100 Subject: [PATCH 3/5] edited yml file --- .github/workflows/python-workflow.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-workflow.yml b/.github/workflows/python-workflow.yml index c752ea88..c9533216 100644 --- a/.github/workflows/python-workflow.yml +++ b/.github/workflows/python-workflow.yml @@ -15,4 +15,5 @@ jobs: - name: Install dependencies run: | - ./pip install -r requirements.txt + python -m pip install --upgrade pip + pip install -r requirements.txt From b65ba837ce7810b9bd835d83845ce794274881dc Mon Sep 17 00:00:00 2001 From: SESUGH-OPS Date: Fri, 20 Sep 2024 20:46:48 +0100 Subject: [PATCH 4/5] workdone successfulyy --- .github/workflows/python-workflow.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/python-workflow.yml b/.github/workflows/python-workflow.yml index c9533216..3620f30b 100644 --- a/.github/workflows/python-workflow.yml +++ b/.github/workflows/python-workflow.yml @@ -8,12 +8,15 @@ jobs: runs-on: ubuntu-latest steps: - - name: Set up Python 3.8 - uses: actions/setup-python@v2 - with: - python-version: 3.8 + - name: Checkout repository + uses: actions/checkout@v3 - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install -r requirements.txt + - name: Set up Python 3.8 + uses: actions/setup-python@v2 + with: + python-version: 3.8 + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt From 60800a12aebe352f64eea9c7b5862ddaad4b055e Mon Sep 17 00:00:00 2001 From: SAS_OPS <105423735+SESUGH-OPS@users.noreply.github.com> Date: Fri, 20 Sep 2024 20:49:25 +0100 Subject: [PATCH 5/5] Update python-workflow.yml --- .github/workflows/python-workflow.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-workflow.yml b/.github/workflows/python-workflow.yml index 3620f30b..3c9672b4 100644 --- a/.github/workflows/python-workflow.yml +++ b/.github/workflows/python-workflow.yml @@ -1,7 +1,9 @@ name: CI on: - push: + push: + branches: + - main jobs: build: