Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
7x11x13 committed Mar 19, 2024
1 parent 0139b74 commit 4e17aee
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ on:
jobs:
test:
environment: test
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.6
python-version: 3.7
- name: Install dependencies
run: |
pip install -e .[test]
Expand Down
8 changes: 5 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def readme():

setup(
name="soundcloud-v2",
version="1.3.3",
version="1.3.4",
description="Python wrapper for the v2 SoundCloud API",
long_description=readme(),
long_description_content_type='text/markdown',
Expand All @@ -26,14 +26,16 @@ def readme():
"test": ["coveralls", "pytest", "pytest-dotenv"]
},
classifiers=[
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent"
],
python_requires = ">=3.6",
python_requires = ">=3.7",
project_urls={
"Bug Tracker": "https://github.com/7x11x13/soundcloud.py/issues"
}
Expand Down
2 changes: 1 addition & 1 deletion soundcloud/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
from soundcloud.resource.web_profile import WebProfile
from soundcloud.soundcloud import SoundCloud

__version__ = "1.3.3"
__version__ = "1.3.4"
4 changes: 2 additions & 2 deletions tests/test_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ def test_search_albums(client: SoundCloud):
assert isinstance(album, AlbumPlaylist) and album.user.username == "Ariana Grande"

def test_search_playlists(client: SoundCloud):
playlist = next(client.search_playlists("playlist"))
assert isinstance(playlist, AlbumPlaylist) and playlist.title.lower() == "playlist"
playlist = next(client.search_playlists("we do a little music"))
assert isinstance(playlist, AlbumPlaylist) and playlist.title.lower() == "We Do A Little Music [incomplete]"

def test_search_tracks(client: SoundCloud):
track = next(client.search_tracks("34+35"))
Expand Down

0 comments on commit 4e17aee

Please sign in to comment.