Update git action and example codes. #18
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: Aspose Cells Cloud SDK for Python | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| pull_request: | |
| branches: [ "master" ] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: windows-latest | |
| env: | |
| CellsCloudClientId: ${{ secrets.PRODUCTCLIENTID }} | |
| CellsCloudClientSecret: ${{ secrets.PRODUCTCLIENTSECRET }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python 3.10 | |
| uses: actions/setup-python@v3 | |
| with: | |
| python-version: "3.10" | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r requirements.txt | |
| - name: Install Aspose Cells Cloud | |
| run: pip install . | |
| - name: Run Examples | |
| run: | | |
| cd examples | |
| python .\Example_QuickStart.py | |
| python .\Example_CheckExcel.py | |
| python .\Example_CloudStorageManagement.py | |
| python .\Example_ConvertChartToImage.py | |
| python .\Example_ConvertRangeToImage.py | |
| python .\Example_ConvertExcel.py | |
| python .\Example_TextProcessing.py |