📝 rename .app into .io #110
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python CI | |
on: [push] | |
env: | |
PYTHONPATH: "*/mse_src/*.py" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.8"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Package metadata | |
id: metadata | |
run: | | |
echo "PACKAGE_VERSION=$(python setup.py --version)" >> $GITHUB_OUTPUT | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
if [ -f requirements-ci.txt ]; then pip install -r requirements-ci.txt; fi | |
- name: Code format with black | |
run: | | |
black --check $PYTHONPATH | |
- name: Import check with isort | |
run: | | |
isort --check $PYTHONPATH | |
- name: Lint check with pylint | |
run: | | |
pylint --rcfile=setup.cfg $PYTHONPATH | |
- name: Lint check with pycodestyle | |
run: | | |
pycodestyle $PYTHONPATH | |
- name: Lint check with pydocstyle | |
run: | | |
pydocstyle $PYTHONPATH |