feat(sdk): Auto-created from 'analyticsapi-engines-sdk-generator' repository PR 71 for SDK version v6.1.1 #358
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: CI | |
| env: | |
| ANALYTICS_API_QAR_USERNAME_SERIAL: ${{ secrets.ANALYTICS_API_QAR_USERNAME_SERIAL }} | |
| ANALYTICS_API_QAR_PASSWORD: ${{ secrets.ANALYTICS_API_QAR_PASSWORD }} | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up Python 3.8 | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: 3.8 | |
| - name: Build and install new SDK | |
| run: | | |
| python -m pip install --upgrade pip | |
| cd auto-generated-sdk | |
| python setup.py sdist | |
| pip install . | |
| - name: Build and Run Tests | |
| run: | | |
| cd tests | |
| if [ -f requirements.txt ] | |
| then | |
| pip install -r requirements.txt | |
| fi | |
| python -m unittest discover |