Implemented tag_no_case
parser
#16
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: Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
jobs: | |
static-analysis: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- name: checkout-repo | |
uses: actions/checkout@v3 | |
- name: install-poetry | |
run: pipx install poetry | |
- name: setup-python | |
uses: actions/setup-python@v4 | |
with: | |
python-version-file: pyproject.toml | |
cache: poetry | |
- name: install-dependencies | |
run: poetry install --no-interaction --only dev | |
- name: ruff-check | |
run: poetry run ruff check . | |
- name: ruff-format | |
run: poetry run ruff format --check . | |
- name: mypy | |
run: poetry run mypy . | |
tests: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
strategy: | |
matrix: | |
python-version: | |
- "3.12" | |
- "3.11" | |
- "3.10" | |
fail-fast: false | |
steps: | |
- name: checkout-repo | |
uses: actions/checkout@v3 | |
- name: install-poetry | |
run: pipx install poetry | |
- name: setup-python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: poetry | |
- name: install-dependencies | |
run: poetry install --no-interaction | |
- name: pytest | |
run: | | |
poetry run coverage run -m pytest . -vv | |
poetry run coverage report -m --skip-covered |