Skip to content

Commit

Permalink
PR check for Python sources
Browse files Browse the repository at this point in the history
  • Loading branch information
tisnik committed Dec 8, 2023
1 parent f4f6cb7 commit ba689af
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/pr_approval.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Pytest

on:
- push
- pull_request

jobs:
pytest:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- run: pip install --upgrade setuptools
- run: pip install --upgrade wheel
- run: pip install pycodestyle
- run: pip install pydocstyle
- name: Style checks
run: make style
- name: Docstrings checks
run: make doc-check

0 comments on commit ba689af

Please sign in to comment.