build(deps-dev): update coverage requirement from ^6.4.2 to ^7.2.7 #38
This file contains 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: | |
pull_request: | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.7", "3.8", "3.9", "3.10"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- uses: actions/cache@v3 | |
with: | |
path: ~/.cache/pip | |
key: pip-${{ matrix.python-version }} | |
- name: Cache tox environments | |
uses: actions/cache@v3 | |
with: | |
path: | | |
.tox | |
key: tox-${{ matrix.python-version }}-${{ hashFiles('tox.ini') }} | |
- name: Install tox | |
run: | | |
python -m pip install -U pip | |
pip install tox tox-gh-actions | |
- name: Run tox | |
run: tox | |
- name: Run Coveralls parallel | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
flag-name: run-${{ matrix.python-version }} | |
parallel: true | |
finish: | |
needs: tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Send coverage reports | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
parallel-finished: true |