Skip to content

Commit

Permalink
.github: improve readability
Browse files Browse the repository at this point in the history
Signed-off-by: Emmanuel Blot <[email protected]>
  • Loading branch information
eblot committed Nov 23, 2024
1 parent 48188b6 commit 0590f38
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/pythonchecksyntax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,25 +16,31 @@ jobs:

steps:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r test-requirements.txt
- name: Check style
run: |
python setup.py check_style
- name: Linter
run: |
pylint --disable=fixme --disable=duplicate-code \
$(git ls-files '*.py')
- name: Install package
run: |
python setup.py install
- name: Run tests
run: |
python pyftdi/tests/toolsimport.py
4 changes: 4 additions & 0 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,23 @@ jobs:

steps:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install setuptools wheel sphinx sphinx_rtd_theme sphinx_autodoc_typehints
- name: Build package
run: |
python setup.py bdist
python setup.py sdist bdist_wheel
- name: Build documentation
run: |
mkdir doc
Expand Down

0 comments on commit 0590f38

Please sign in to comment.