-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from bneijt/issue/1
Upgrade python to fix #1
- Loading branch information
Showing
12 changed files
with
472 additions
and
101 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: main | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
|
||
jobs: | ||
main: | ||
env: | ||
POETRY_VIRTUALENVS_IN_PROJECT: true | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.8 | ||
- run: pip install poetry==1.1.7 | ||
- name: cache venv | ||
uses: actions/cache@v2 | ||
with: | ||
path: .venv | ||
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }} | ||
- run: poetry install | ||
- name: static code analysis | ||
run: | | ||
poetry run black --check | ||
- run: poetry run pytest | ||
- name: build package | ||
run: | | ||
make clean | ||
make package | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: package | ||
path: build/plugin_video_ipfs.zip | ||
retention-days: 3 | ||
if-no-files-found: error |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,7 @@ | |
/*.egg-info | ||
/.pytest_cache | ||
__pycache__ | ||
/venv | ||
/.venv | ||
/dist | ||
/upload_build.sh | ||
/.vscode |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,20 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<addon id="plugin.video.ipfs" | ||
version="0.0.5" | ||
name="IPFS" | ||
provider-name="ipfs.video"> | ||
<requires> | ||
<import addon="xbmc.python" version="2.25.0"/> | ||
<import addon="script.module.requests" version="2.22.0"/> | ||
</requires> | ||
<extension point="xbmc.python.pluginsource" library="main.py"> | ||
<provides>video</provides> | ||
</extension> | ||
<extension point="xbmc.addon.metadata"> | ||
<summary lang="en">IPFS video viewing plugin</summary> | ||
<description lang="en_GB">A plugin allowing access to IPFS video media.</description> | ||
<website>https://ipfs.video/</website> | ||
<assets> | ||
<icon>icon.png</icon> | ||
<fanart>fanart.jpg</fanart> | ||
<screenshot>resources/screenshot-01.jpg</screenshot> | ||
</assets> | ||
</extension> | ||
</addon> | ||
<addon id="plugin.video.ipfs" version="0.0.6" name="IPFS" provider-name="ipfs.video"> | ||
<requires> | ||
<import addon="xbmc.python" version="3.0.0" /> | ||
<import addon="script.module.requests" version="2.22.0" /> | ||
</requires> | ||
<extension point="xbmc.python.pluginsource" library="main.py"> | ||
<provides>video</provides> | ||
</extension> | ||
<extension point="xbmc.addon.metadata"> | ||
<summary lang="en">IPFS video viewing plugin</summary> | ||
<description lang="en_GB">A plugin allowing access to IPFS video media.</description> | ||
<website>https://ipfs.video/</website> | ||
<assets> | ||
<icon>icon.png</icon> | ||
<fanart>fanart.jpg</fanart> | ||
<screenshot>resources/screenshot-01.jpg</screenshot> | ||
</assets> | ||
</extension> | ||
</addon> |
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
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
Oops, something went wrong.