Skip to content

Commit

Permalink
Complete 'Github Actions' configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
lycantropos committed Jul 18, 2023
1 parent 3831613 commit 4c302cf
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,13 @@ jobs:
with:
python-version: ${{ matrix.python_version }}
architecture: ${{ matrix.platform.python_architecture }}
- name: 'Compare example from README with code'
run: >
python -c "import re;from pathlib import Path;
raise SystemExit(
'\n'.join(re.findall(r'(?<=```cs\n)([^`]+)', Path('README.md').read_text()))
!= Path('src/GonExamples/Basic.cs').read_text()
)"
- name: 'Install MyPy'
run: python -m pip install mypy
- name: 'Run MyPy'
Expand Down

0 comments on commit 4c302cf

Please sign in to comment.