From bfc1c313b4a46f8ac5765d86f9cc4ae3bae570d0 Mon Sep 17 00:00:00 2001 From: i-am-mounce <146007668+i-am-mounce@users.noreply.github.com> Date: Tue, 5 Dec 2023 15:45:24 -0700 Subject: [PATCH] Update python-app.yml --- .github/workflows/python-app.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index ae3b962d..c2187a5a 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -25,11 +25,13 @@ jobs: uses: actions/setup-python@v3 with: python-version: "3.10" - - name: Install dependencies + - name: Install package run: | python -m pip install --upgrade pip - pip install flake8 pytest - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + python -m pip install wheel + python -m pip install flake8 + python -m pip install pytest + python -m pip install -e . - name: Lint with flake8 run: | # stop the build if there are Python syntax errors or undefined names