mirror of
https://github.com/instaloader/instaloader.git
synced 2024-11-20 01:02:30 +01:00
6145c5b383
It fails due to a problem with installing dependencies, which is already
fixed in a3dc75c04e
.
28 lines
846 B
YAML
28 lines
846 B
YAML
name: PyLint and MyPy
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
lint:
|
|
name: PyLint and MyPy
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
python-version: ["3.8", "3.9", "3.10"]
|
|
steps:
|
|
- name: Checkout Instaloader Repository
|
|
uses: actions/checkout@v2
|
|
- name: Setup Python
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
- name: Install Dependencies
|
|
run: |
|
|
python -m pip install pipenv==2023.2.4
|
|
pipenv --python `python --version | grep -Eo '3\.[0-9]+'` sync --dev
|
|
- name: PyLint
|
|
run: pipenv --python `python --version | grep -Eo '3\.[0-9]+'` run pylint instaloader
|
|
- name: MyPy
|
|
run: pipenv --python `python --version | grep -Eo '3\.[0-9]+'` run mypy -m instaloader
|