Create Flaresolverr.sh #15
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: 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 |