Skip to content

Update install.md

Update install.md #10

name: Check if the Python package could be builded and installed
on: push
jobs:
requirements-valid:
name: Requirements validity check
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@main
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@main
with:
python-version: ${{ matrix.python-version }}
- name: Install pip
run: python -m pip install --upgrade pip
- name: Check that requirements are installable
run: pip install -r requirements.txt
package-build-and-install:
name: Build and local install πŸ“¦
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@main
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@main
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: πŸ“¦ check
run: python setup.py check
- name: πŸ“¦ build
run: python setup.py sdist bdist_wheel
- name: πŸ“¦ local install
run: pip install dist/*.whl
- name: test runnable
run: ulozto-downloader -h