Update README #155
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: Test Coverage | |
| on: ["push", "pull_request"] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| # supported python versions can be found here | |
| # https://github.com/actions/python-versions/releases | |
| python-version: ['3.10', '3.11', '3.12', '3.13', '3.14', 'pypy-3.11'] | |
| steps: | |
| - uses: actions/checkout@master | |
| - name: set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| pip install -U wheel | |
| pip install -U coverage | |
| pip install . | |
| - name: Run mypy | |
| run: | | |
| pip install -U mypy | |
| mypy -p xvfbwrapper --install-types --non-interactive | |
| - name: Run tests & coverage | |
| run: | | |
| coverage erase | |
| coverage run --source=. -m unittest discover | |
| coverage report -m | |