Updated the workflow to be able to debug why Python 3.,8 fails #7
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: Compatibility | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| check-compatibility: | |
| name: With Python ${{ matrix.python-version }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12', '3.13' ] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| path: project/library | |
| - name: Checkout sanity stub | |
| uses: actions/checkout@v4 | |
| with: | |
| ref: sanity | |
| path: project/sanity | |
| - name: Install poetry | |
| run: | | |
| pipx install poetry | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| cache: 'poetry' | |
| - name: Check Installability | |
| working-directory: project/sanity | |
| run: | | |
| cat pyproject.toml | |
| python --version | |
| cat ../library/pyproject.toml | |
| poetry add zitadel-client@../library |