Skip to content

add some badges to the README.md #8

add some badges to the README.md

add some badges to the README.md #8

Workflow file for this run

name: Main Workflow
on: [push, pull_request]
jobs:
code_style:
name: Code Style Analysis
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
pip install "pylint==3.3.3" "PyYAML>=6.0"
- name: Pylint
run: |
pylint wapiti_swagger/
build:
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip3 install -U setuptools pytest "PyYAML>=6.0"
- name: Test project
run: |
pytest