Skip to content

Update dependencies #56

Update dependencies

Update dependencies #56

Workflow file for this run

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/[email protected]
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/[email protected]
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true
path-to-lcov: './coverage.lcov'