diff --git a/.github/workflows/publish_package.yml b/.github/workflows/publish_package.yml index 1079bc9..36d525e 100644 --- a/.github/workflows/publish_package.yml +++ b/.github/workflows/publish_package.yml @@ -29,7 +29,6 @@ jobs: run: | sed -i "s/version = \".*\"/version = \"${{ env.VERSION }}\"/" pyproject.toml - - name: Build distribution run: python -m build --sdist --wheel --outdir dist/ @@ -49,3 +48,33 @@ jobs: Update comfy-cli to ${{ env.VERSION }} Created by actions/bump-homebrew-formula-action + + test-homebrew-installation: + name: Test Comfy CLI Installation via homebrew + needs: build-n-publish # This job runs after build-n-publish completes successfully + runs-on: macos-latest + steps: + - name: Tap comfy-cli homebrew tap repository + run: brew tap Comfy-Org/comfy-cli + + - name: Install comfy-cli via homebrew + run: brew install comfy-org/comfy-cli/comfy-cli + + - name: Test Comfy CLI Help + run: comfy --help + + test-pip-installation: + name: Test Comfy CLI Installation via pip + needs: build-n-publish # This job runs after build-n-publish completes successfully + runs-on: ubuntu-latest + steps: + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: '3.10' + + - name: Install Comfy CLI via pip + run: pip install comfy-cli + + - name: Test Comfy CLI Help + run: comfy --help \ No newline at end of file