Bump version post release #62
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: CI | |
on: | |
push: | |
pull_request: | |
jobs: | |
tests: | |
name: Python ${{ matrix.python-version }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: | |
- "3.9" | |
- "3.10" | |
- "3.11" | |
- "3.12" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install poetry | |
run: pipx install poetry | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: "poetry" | |
- name: Install dependencies | |
run: | | |
poetry env use "${{ matrix.python-version }}" | |
poetry install --all-extras | |
- name: Run tox targets for ${{ matrix.python-version }} | |
run: | | |
poetry run tox -f py$(echo ${{ matrix.python-version }} | tr -d .) | |
poetry run coverage lcov | |
- name: Coveralls Parallel | |
uses: coverallsapp/github-action@1.1.3 | |
with: | |
github-token: ${{ secrets.github_token }} | |
flag-name: run-${{ matrix.python-version }} | |
parallel: true | |
path-to-lcov: "./coverage.lcov" | |
finish: | |
needs: tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Coveralls Finished | |
uses: coverallsapp/github-action@1.1.3 | |
with: | |
github-token: ${{ secrets.github_token }} | |
parallel-finished: true | |
path-to-lcov: "./coverage.lcov" |