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