Updated README #54
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: tests | |
| on: | |
| push: | |
| branches: [ "*" ] | |
| pull_request: | |
| branches: [ "*" ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: true | |
| matrix: | |
| python-version: ["3.9", "3.13", "3.14.0-beta.4", "pypy-3.9", "pypy-3.10", "pypy-3.11"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| lfs: true | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Lint with ruff | |
| run: | | |
| python -m pip install uv | |
| uv pip install --system ruff | |
| ruff check src/icegrams | |
| - name: Install dependencies | |
| run: | | |
| uv pip install --system --upgrade wheel setuptools pytest packaging | |
| uv pip install --system -e . | |
| - name: Test with pytest | |
| run: | | |
| python -m pytest |