diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 0333c64..76d431a 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -1,4 +1,4 @@ -name: Test Site Modules and OS Path +name: Run Tests on: push: @@ -8,7 +8,8 @@ on: workflow_dispatch: jobs: - test: + test-load-search-api: + name: Test Load Search API runs-on: ubuntu-latest steps: @@ -27,6 +28,23 @@ jobs: - name: Run loadSearchApi test run: | PYTHONPATH=$PYTHONPATH:$(pwd) python -m Test.Util.loadSearchApi + + test-os-path: + name: Test OS Path + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: '3.11' + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Run osPath test run: | diff --git a/StreamingCommunity/Upload/update.py b/StreamingCommunity/Upload/update.py index 4d7a9b2..dc40ce2 100644 --- a/StreamingCommunity/Upload/update.py +++ b/StreamingCommunity/Upload/update.py @@ -68,7 +68,7 @@ def update(): # Check installed version if str(__version__).replace('v', '') != str(last_version).replace('v', '') : - console.print(f"\n[red]New version available: [yellow]{last_version}") + console.print(f"\n[cyan]New version available: [yellow]{last_version}") console.print(f"\n[red]{__title__} has been downloaded [yellow]{total_download_count} [red]times, but only [yellow]{percentual_stars}% [red]of users have starred it.\n\ [cyan]Help the repository grow today by leaving a [yellow]star [cyan]and [yellow]sharing [cyan]it with others online!") diff --git a/StreamingCommunity/Upload/version.py b/StreamingCommunity/Upload/version.py index 52c422f..5cb064d 100644 --- a/StreamingCommunity/Upload/version.py +++ b/StreamingCommunity/Upload/version.py @@ -1,5 +1,5 @@ __title__ = 'StreamingCommunity' -__version__ = '2.9.6' +__version__ = '2.9.7' __author__ = 'Arrowar' __description__ = 'A command-line program to download film' __copyright__ = 'Copyright 2024' diff --git a/setup.py b/setup.py index 35921e0..448be1e 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ with open(os.path.join(os.path.dirname(__file__), "requirements.txt"), "r", enco setup( name="StreamingCommunity", - version="2.9.6", + version="2.9.7", long_description=read_readme(), long_description_content_type="text/markdown", author="Lovi-0",