Skip to content

Tweak getting started text. #21

Tweak getting started text.

Tweak getting started text. #21

Workflow file for this run

name: Coverage
on:
push:
branches:
- main
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.GH_TOKEN }}
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git add badges/coverage.svg
git commit -m "Update coverage badge"
git push