From 7d0146fdba67fbae50de30f689137393eac9cd94 Mon Sep 17 00:00:00 2001 From: sivaprakash NA Date: Fri, 7 Jun 2024 08:14:35 +0000 Subject: [PATCH 1/2] including test --- .github/workflows/lint_and_test.yaml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/lint_and_test.yaml b/.github/workflows/lint_and_test.yaml index ee524ee..cd12131 100644 --- a/.github/workflows/lint_and_test.yaml +++ b/.github/workflows/lint_and_test.yaml @@ -13,10 +13,11 @@ jobs: uses: actions/setup-python@v5 with: python-version: '3.12' - - - - working-directory: exercise_2 - run: "" - - - lint: - # Complete the lint job configuration + - name: Install Dependencies + run: | + pip install pytest + pip install black + - name: run test2 + working-directory: exercise_2 + run: + pytest test_bad_code.py From 7787e8b20172c011ffe7d6eb5711d6ec8808cc07 Mon Sep 17 00:00:00 2001 From: sivaprakash NA Date: Fri, 7 Jun 2024 08:24:54 +0000 Subject: [PATCH 2/2] including test-2 --- .github/workflows/lint_and_test.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/lint_and_test.yaml b/.github/workflows/lint_and_test.yaml index cd12131..646e679 100644 --- a/.github/workflows/lint_and_test.yaml +++ b/.github/workflows/lint_and_test.yaml @@ -17,7 +17,12 @@ jobs: run: | pip install pytest pip install black + pip install flake8 - name: run test2 working-directory: exercise_2 run: pytest test_bad_code.py + - name: run flake8 + working-directory: exercise_2 + run: + pytest flake8