Skip to content

Bump to 0.61.0.

Bump to 0.61.0. #32

Workflow file for this run

name: Coverage
on:
push:
branches:
- main
workflow_dispatch:
jobs:
generate-coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Set up Python 3.11
uses: actions/[email protected]
with:
python-version: "3.11"
- name: Install Poetry
uses: abatilo/[email protected]
with:
poetry-version: 1.6.1
- name: Set Poetry config
run: |
poetry config virtualenvs.path ~/.virtualenvs3.11
- name: Install dependencies
run: poetry install -E minify
- name: Generate coverage badge
run: |
chmod +x generate_badge.sh
./generate_badge.sh
- name: Commit and push coverage badge
continue-on-error: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git checkout -b py-code-coverage || git checkout py-code-coverage
git pull origin py-code-coverage
git add .
git commit -m "Update coverage badge"
git push --force origin py-code-coverage