fix(test-robin-pr): tested #158
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Comfy-PR Tests. | |
on: | |
push: | |
jobs: | |
run_comfy_pr: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# setup comfy-cli | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: "3.x" | |
- run: python -m pip install --upgrade pip | |
- run: python -m venv .venv | |
- run: source .venv/bin/activate | |
- run: pip install comfy-cli | |
# Setup SSH Key for git push | |
- uses: webfactory/[email protected] | |
with: | |
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} | |
# Setup Bun | |
- run: pip install setuptools | |
- uses: oven-sh/setup-bun@v1 | |
# setup db | |
- run: docker compose up mongodb -d | |
# Run Comfy-PR Tests | |
- run: bun i | |
- run: bun test |