Skip to content

Add CodeFactor (#398) #109

Add CodeFactor (#398)

Add CodeFactor (#398) #109

Workflow file for this run

---
name: Test
on:
push:
branches:
- main
- renovate/**
pull_request:
jobs:
test:
name: ${{ matrix.os }} py${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- macos-latest
- ubuntu-latest
python-version:
- "3.10"
- "3.11"
- "3.12"
steps:
# yamllint disable-line rule:line-length
- uses: paddyroddy/.github/actions/python/tox@18d8678a5aea33da18556ae7823433325631dadd # v0
with:
cache-path: |-
.tox
~/.cache/sleplet
operating-system: ${{ matrix.os }}
pyproject-toml: ./pyproject.toml
python-version: ${{ matrix.python-version }}
- name: Coveralls Parallel
# yamllint disable-line rule:line-length
uses: coverallsapp/github-action@3dfc5567390f6fa9267c0ee9c251e4c8c3f18949 # v2
with:
flag-name: run-${{ matrix.os }}-${{ matrix.python-version }}
parallel: true
finish:
needs: test
if: ${{ always() }}
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
# yamllint disable-line rule:line-length
uses: coverallsapp/github-action@3dfc5567390f6fa9267c0ee9c251e4c8c3f18949 # v2
with:
parallel-finished: true
# yamllint disable-line rule:quoted-strings
carryforward: "\
run-macos-latest-3.10,\
run-ubuntu-latest-3.10,\
run-macos-latest-3.11,\
run-ubuntu-latest-3.11,\
run-macos-latest-3.12,\
run-ubuntu-latest-3.12"