Renovate: paddyroddy/.github (minor) (#429) #262
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: 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.11" | |
- "3.12" | |
steps: | |
# yamllint disable-line rule:line-length | |
- uses: paddyroddy/.github/actions/python/tox@cde57fbdb1dcdc4cd2aacb0d34127e1582424621 # v0 | |
with: | |
cache-path: |- | |
.tox | |
~/.cache/sleplet | |
pyproject-toml: ./pyproject.toml | |
python-version: ${{ matrix.python-version }} | |
- name: Coveralls Parallel | |
# yamllint disable-line rule:line-length | |
uses: coverallsapp/github-action@cfd0633edbd2411b532b808ba7a8b5e04f76d2c8 # 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@cfd0633edbd2411b532b808ba7a8b5e04f76d2c8 # v2 | |
with: | |
parallel-finished: true | |
# yamllint disable-line rule:quoted-strings | |
carryforward: "\ | |
run-macos-latest-3.11,\ | |
run-ubuntu-latest-3.11,\ | |
run-macos-latest-3.12,\ | |
run-ubuntu-latest-3.12" |