remove JS dependency installation from Python SDK workflow and adjust… #2742
Workflow file for this run
This file contains hidden or 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: Python SDK check | |
| on: | |
| push: | |
| branches: "**" | |
| paths: | |
| - "packages/sdk/python/human-protocol-sdk/**" | |
| jobs: | |
| python-test: | |
| name: Python Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: .nvmrc | |
| cache: yarn | |
| - name: Install core package dependencies | |
| run: yarn install --immutable | |
| - name: Set up Python 3.10 | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.10" | |
| - name: Install pipenv | |
| run: pip install pipenv | |
| - name: Python test | |
| working-directory: ./packages/sdk/python/human-protocol-sdk | |
| run: | | |
| pipenv install --dev | |
| make run-test |