Merge pull request #2017 from MukundaKatta/codex/fix-installation-pip… #1008
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
| on: [push, pull_request] | |
| name: Tests | |
| jobs: | |
| Tests: | |
| name: base | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python: | |
| - '3.8' | |
| - '3.9' | |
| - '3.10' | |
| - '3.11' | |
| - '3.12' | |
| - '3.13' | |
| - '3.14' | |
| os: | |
| - 'ubuntu-latest' | |
| - 'macos-latest' | |
| architecture: | |
| - 'x64' | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python }} | |
| allow-prereleases: true | |
| - name: Requirements | |
| run: | | |
| pip install --upgrade coveralls setuptools tox>=2.0 | |
| - name: Tox | |
| run: tox | |
| - name: Coveralls | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| COVERALLS_SERVICE_NAME: github-actions | |
| COVERALLS_FLAG_NAME: python-${{ matrix.python }}-${{ matrix.os }} | |
| COVERALLS_PARALLEL: true | |
| run: coveralls | |
| Coveralls: | |
| needs: Tests | |
| runs-on: ubuntu-latest | |
| container: python:3-slim | |
| steps: | |
| - name: Finished | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| pip install coveralls | |
| coveralls --finish | |
| Docker: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Docker build | |
| run: docker build --tag=kivy/buildozer . | |
| - name: Docker run | |
| run: docker run kivy/buildozer --version | |
| Documentation: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Requirements | |
| run: pip install --upgrade ".[docs]" | |
| - name: Check links | |
| run: sphinx-build -b linkcheck docs/source docs/build | |
| - name: Generate documentation | |
| run: sphinx-build docs/source docs/build |