support repo project engine configs as dict #40
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 Build Steps [called] | |
| on: | |
| workflow_call: | |
| secrets: | |
| TEST_TENANT_ID: | |
| required: true | |
| TEST_REGION: | |
| required: true | |
| TEST_OAUTH_CLIENT_SECRET: | |
| required: true | |
| TEST_OAUTH_CLIENT_ID: | |
| required: true | |
| TEST_API_KEY: | |
| required: true | |
| push: | |
| jobs: | |
| call-unit-tests-coverage: | |
| uses: ./.github/workflows/coverage.yml | |
| secrets: | |
| TEST_TENANT_ID: ${{ secrets.TEST_TENANT_ID }} | |
| TEST_REGION: ${{ secrets.TEST_REGION }} | |
| TEST_OAUTH_CLIENT_SECRET: ${{ secrets.TEST_OAUTH_CLIENT_SECRET }} | |
| TEST_OAUTH_CLIENT_ID: ${{ secrets.TEST_OAUTH_CLIENT_ID }} | |
| TEST_API_KEY: ${{ secrets.TEST_API_KEY }} | |
| check-min-python-version-support: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Fetch Code | |
| uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
| - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d | |
| with: | |
| python-version: "3.12" | |
| - name: Check support of Python 3.9+ | |
| run: | | |
| pip3 install vermin | |
| vermin -t=3.9 --backport asyncio --backport typing --no-tips . | |
| execute-pylint: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| max-parallel: 3 | |
| matrix: | |
| pver: | |
| - "3.9" | |
| - "3.10" | |
| - "3.11" | |
| - "3.12" | |
| - "3.13" | |
| container: python:${{ matrix.pver }} | |
| steps: | |
| - name: Fetch Code | |
| uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
| - name: Make virtual environment | |
| shell: bash | |
| run: | | |
| pip install virtualenv | |
| virtualenv .venv | |
| . .venv/bin/activate | |
| pip install . pylint | |
| - name: Install packages | |
| shell: bash | |
| run: | | |
| pip install . pylint | |
| - name: Pylint | |
| shell: bash | |
| run: | | |
| pylint --disable=all --enable=E,F --disable=E1121 --score=false cxone_api | |
| call-package-build: | |
| uses: ./.github/workflows/build.yml | |
| with: | |
| buildonly: true |