diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 4dd9c8d..cd67d25 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -3,8 +3,6 @@ name: Python package on: push: branches: [ main ] - pull_request: - branches: [ main ] jobs: build: @@ -20,8 +18,8 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi pip install flake8 pytest twine build + pip install -e . # Install the package in editable mode with all dependencies - name: Lint with flake8 run: | @@ -42,4 +40,4 @@ jobs: twine upload dist/* --verbose env: TWINE_USERNAME: __token__ - TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} + TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} \ No newline at end of file