This repository was archived by the owner on Sep 28, 2025. It is now read-only.
docs: add package archival warning #10
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 | |
| on: | |
| push: | |
| branches: | |
| - "master" | |
| pull_request: | |
| branches: | |
| - "master" | |
| env: | |
| COLOR: yes | |
| FORCE_COLOR: 1 | |
| MYPY_FORCE_COLOR: 1 | |
| PY_COLORS: 1 | |
| jobs: | |
| test: | |
| name: "Test Python ${{ matrix.python-version }} ${{ matrix.os }}" | |
| runs-on: "${{ matrix.os }}" | |
| strategy: | |
| matrix: | |
| python-version: ["3.9", "3.10", "3.11", "3.12"] | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| python3 -m pip install --upgrade pip | |
| pip install -r requirements-dev.txt | |
| - name: Run tests | |
| run: python3 -m pytest ./tests --cov=./aiohttp_toolkit -v | |
| - name: Turn coverage into xml | |
| run: | | |
| python3 -m coverage xml | |
| - name: Upload coverage | |
| uses: codecov/codecov-action@v4 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| file: ./coverage.xml | |
| flags: >- | |
| CI-GHA,OS-${{ | |
| runner.os | |
| }},VM-${{ | |
| matrix.os | |
| }},Py-${{ | |
| steps.python-install.outputs.python-version | |
| }} |