Skip to content

Added validation of config while parsing #25

Added validation of config while parsing

Added validation of config while parsing #25

Workflow file for this run

on:
workflow_dispatch:
pull_request:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- '3.8'
- '3.9'
- '3.10'
- '3.11'
name: Python ${{ matrix.python-version }} sample
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Test with pytest
run: |
python -m pip install pytest
pytest
- name: Build package
run: |
python -m pip install build twine check-wheel-contents
python -m build --sdist --wheel .
ls -l dist
check-wheel-contents dist/*.whl
- name: "Check long_description"
run: "python -m twine check dist/*"
pre-commit:
name: pre-commit
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- uses: pre-commit/action@v3.0.0
with:
extra_args: --all-files --hook-stage manual