docs: Add Badges for License and Supported Version to README #215
Workflow file for this run
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: "checks" | |
# Runs your workflow when activity on a pull request in the workflow's repository occurs. | |
# If no activity types are specified, the workflow runs when a pull request is opened, reopened, or when the head branch of the pull request is updated. | |
on: [ pull_request ] | |
jobs: | |
checks: | |
strategy: | |
matrix: | |
os: [ ubuntu-latest ] | |
python-version: [ "3.12" ] | |
tox-env: [ "test", "lint", "formatcheck", "typecheck", "test_packaging", "dev" ] | |
name: ${{ matrix.tox-env }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install tox | |
- name: Run ${{ matrix.tox-env }} via Tox | |
run: | | |
tox -e ${{ matrix.tox-env }} |