0.7.31 #48
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: Flask-FS2 CI | |
| on: [push, pull_request] | |
| jobs: | |
| ci: | |
| name: Test with different versions of Python π | |
| runs-on: ubuntu-22.04 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| version: ["3.9", "3.10", "3.11", "3.12", "3.13", "pypy3.9", "pypy3.10"] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.version }} | |
| cache: pip | |
| - name: Upgrade pip π¦ | |
| run: >- | |
| python -m pip install --upgrade pip setuptools | |
| - name: Install packages π¦ | |
| run: >- | |
| python -m pip install .[ci] | |
| - name: Launch dockers π³ | |
| run: >- | |
| docker compose up -d | |
| - name: Run tests π§ͺ | |
| run: >- | |
| inv cover qa | |
| - name: Install coveralls-python from git π¦ | |
| if: ${{ matrix.version == '3.13' }} | |
| run: >- | |
| python -m pip install | |
| "coveralls @ git+https://github.com/terop/coveralls-python.git@python_313_support" | |
| - name: Show coverage report π | |
| run: >- | |
| coveralls --rcfile=coverage.rc | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |