From 1871e6d8a485d68bb0ef2dbd93aa0d90431ae558 Mon Sep 17 00:00:00 2001 From: Saravanan G Date: Wed, 9 Aug 2023 20:15:26 +0530 Subject: [PATCH] Update and rename python-app.yml to pytest.yml --- .github/workflows/{python-app.yml => pytest.yml} | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) rename .github/workflows/{python-app.yml => pytest.yml} (91%) diff --git a/.github/workflows/python-app.yml b/.github/workflows/pytest.yml similarity index 91% rename from .github/workflows/python-app.yml rename to .github/workflows/pytest.yml index ef1a74f..fe6e62e 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/pytest.yml @@ -24,9 +24,10 @@ jobs: python-version: "3.9" - name: Install dependencies run: | - python -m pip install --upgrade pip + python3 -m pip install --upgrade pip pip install pytest # flake8 if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + working-directory: ./ # - name: Lint with flake8 # run: | # # stop the build if there are Python syntax errors or undefined names @@ -36,3 +37,4 @@ jobs: - name: Test with pytest run: | pytest + working-directory: ./