This repository was archived by the owner on Jun 2, 2025. It is now read-only.
Automated update by SDK Generator #149
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: Unit Test | |
| on: | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.10' | |
| cache: 'pip' # caching pip dependencies | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install pytest urllib3 python-dateutil | |
| pip install -e . | |
| - name: Unit Test | |
| run: pytest | |
| - name: Automerge | |
| uses: pascalgn/[email protected] | |
| env: | |
| GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}' | |
| MERGE_LABELS: '' | |
| MERGE_METHOD: squash |