Add Python versions badge

This commit is contained in:
Rebecca Breu 2021-04-03 18:57:27 +02:00
parent 2ccc78bb82
commit 50cc77c7e7
3 changed files with 6 additions and 2 deletions

View file

@ -11,7 +11,7 @@ jobs:
python-version: ['3.6', '3.7', '3.8', '3.9']
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}

View file

@ -5,7 +5,10 @@ View your references while you art!
.. image:: https://github.com/rbreu/beeref/blob/main/images/screenshot.jpg
|github-ci-flake8| |github-ci-pytest| |codecov|
|python-version| |github-ci-flake8| |github-ci-pytest| |codecov|
.. |python-version| image:: https://github.com/rbreu/beeref/blob/main/images/python_version_badge.svg
.. |github-ci-flake8| image:: https://github.com/rbreu/beeref/actions/workflows/flake8.yml/badge.svg
:target: https://github.com/rbreu/beeref/actions/workflows/flake8.yml

View file

@ -0,0 +1 @@
<svg height="20" width="160.2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="smooth" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="round"><rect fill="#fff" height="20" rx="3" width="160.2"/></clipPath><g clip-path="url(#round)"><rect fill="#555" height="20" width="48.1"/><rect fill="#005fa1" height="20" width="112.1" x="48.1"/><rect fill="url(#smooth)" height="20" width="160.2"/></g><g fill="#fff" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="110" text-anchor="middle"><text fill="#010101" fill-opacity=".3" lengthAdjust="spacing" textLength="381.0" transform="scale(0.1)" x="250.5" y="150">Python</text><text lengthAdjust="spacing" textLength="381.0" transform="scale(0.1)" x="250.5" y="140">Python</text><text fill="#010101" fill-opacity=".3" lengthAdjust="spacing" textLength="1021.0" transform="scale(0.1)" x="1031.5" y="150">3.6 | 3.7 | 3.8 | 3.9</text><text lengthAdjust="spacing" textLength="1021.0" transform="scale(0.1)" x="1031.5" y="140">3.6 | 3.7 | 3.8 | 3.9</text></g></svg>

After

Width:  |  Height:  |  Size: 1.1 KiB