Skip to content

Merge pull request #85 from andrewtarzia/modify_readme #15

Merge pull request #85 from andrewtarzia/modify_readme

Merge pull request #85 from andrewtarzia/modify_readme #15

name: "Checking coverage"
on:
push:
branches:
- main
jobs:
test-coverage:
runs-on: ubuntu-latest
strategy:
matrix:
# Run in all these versions of Python
python-version: [3.8, 3.9, "3.10"]
steps:
- uses: actions/checkout@v3
# Setup which version of Python to use
- name: Set Up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
# Display the Python version being used
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install requisites
run: |
python -m pip install --upgrade pip hatch
- name: Run tests
run: hatch run test.py${{ matrix.python-version }}:lcov
- name: Coveralls Parallel
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: run-${{ matrix.python-version }}
parallel: true
publishTOcoveralls:
needs: test-coverage
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true