Skip to content

Commit

Permalink
Add sanity check
Browse files Browse the repository at this point in the history
  • Loading branch information
vemel committed Jan 1, 2024
1 parent f77d5ed commit 89fa480
Show file tree
Hide file tree
Showing 13 changed files with 34 additions and 967 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/sanity_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Sanity check

on:
workflow_dispatch: {}

jobs:
sanity:
name: Sanity check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python for Poetry
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install poetry
run: |
python -m pip install poetry pip
- name: Set up Python
id: python
uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: "poetry"
- name: Install dependencies
run: |
poetry install -n
- name: Python 3 check
run: |
PYTHON_VER=3 poetry run handsdown -i examples -o docs_examples -d --panic --exclude 'py2.py'
- name: Python 2 check
run: |
PYTHON_VER=2 poetry run handsdown -i examples -o docs_examples --exclude -d '*/py2.py' --panic
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,4 @@ venv.bak/
.vscode

docs_local
docs_examples
7 changes: 0 additions & 7 deletions docs_examples/README.md

This file was deleted.

111 changes: 0 additions & 111 deletions docs_examples/comment_typed.md

This file was deleted.

41 changes: 0 additions & 41 deletions docs_examples/expressions.md

This file was deleted.

146 changes: 0 additions & 146 deletions docs_examples/google_docstrings.md

This file was deleted.

Loading

0 comments on commit 89fa480

Please sign in to comment.