diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 54730a7..2f27e30 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -1,7 +1,7 @@ # This workflow will install Python dependencies, run tests and lint with a single version of Python # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions -name: Python application +name: Python Package on: push: @@ -16,15 +16,15 @@ jobs: steps: - uses: actions/checkout@main - - name: Initialize Python 3.9 + - name: Initialize Python 3.11 uses: actions/setup-python@v2 with: - python-version: 3.9 + python-version: 3.11 - name: Install dependencies run: | python -m pip install --upgrade pip - pip install flake8 + pip install flake8 wheel pip install --upgrade setuptools @@ -33,8 +33,8 @@ jobs: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - - name: Build binary wheel and a source tarball + - name: Build & Install run: | - python setup.py bdist_wheel sdist + python setup.py sdist bdist_wheel pip install .