From b4310b8f8e84d5c9696c01cf5617b53736f296da Mon Sep 17 00:00:00 2001 From: Rob Weber Date: Fri, 20 Oct 2023 11:43:42 -0500 Subject: [PATCH] updated badge combine jobs into one workflow --- .github/workflows/addon-checker.yml | 18 +++++++++++++++++- .github/workflows/flake8.yml | 21 --------------------- README.md | 2 +- 3 files changed, 18 insertions(+), 23 deletions(-) delete mode 100644 .github/workflows/flake8.yml diff --git a/.github/workflows/addon-checker.yml b/.github/workflows/addon-checker.yml index fdebb03..8fc8280 100644 --- a/.github/workflows/addon-checker.yml +++ b/.github/workflows/addon-checker.yml @@ -1,8 +1,24 @@ -name: Kodi Addon-Check +name: Addon Checks on: [push] jobs: + # run flake8 but ignore long lines and whitespace after keyword + flake8-lint: + runs-on: ubuntu-latest + name: flake8 Linter + steps: + - name: Check out source repository + uses: actions/checkout@v3 + - name: Set up Python environment + uses: actions/setup-python@v3 + with: + python-version: "3.8" + - name: flake8 Lint + uses: py-actions/flake8@v2 + with: + ignore: "E501,E275" + exclude: "croniter.py" kodi-addon-checker: runs-on: ubuntu-latest name: Kodi addon checker diff --git a/.github/workflows/flake8.yml b/.github/workflows/flake8.yml deleted file mode 100644 index 021b591..0000000 --- a/.github/workflows/flake8.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Python Code Check - -on: [push, pull_request] - -# run flake8 but ignore long lines and whitespace after keyword -jobs: - flake8-lint: - runs-on: ubuntu-latest - name: flake8 Linter - steps: - - name: Check out source repository - uses: actions/checkout@v3 - - name: Set up Python environment - uses: actions/setup-python@v3 - with: - python-version: "3.8" - - name: flake8 Lint - uses: py-actions/flake8@v2 - with: - ignore: "E501,E275" - exclude: "croniter.py" diff --git a/README.md b/README.md index d29b967..3cc9418 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Library Updater -![Kodi Version](https://img.shields.io/endpoint?url=https%3A%2F%2Fweberjr.com%2Fkodi-shield%2Fversion%2Frobweber%2Fxbmclibraryautoupdate%2Fmatrix%2Ftrue%2Ftrue) ![Total Downloads](https://img.shields.io/endpoint?url=https%3A%2F%2Fweberjr.com%2Fkodi-shield%2Fdownloads%2Fmatrix%2Fservice.libraryautoupdate%2F1.2.3) [![Build Status](https://img.shields.io/travis/com/robweber/xbmclibraryautoupdate/matrix)](https://app.travis-ci.com/github/robweber/xbmclibraryautoupdate) [![License](https://img.shields.io/github/license/robweber/xbmclibraryautoupdate)](https://github.com/robweber/xbmclibraryautoupdate/blob/master/LICENSE.txt) [![PEP8](https://img.shields.io/badge/code%20style-pep8-orange.svg)](https://www.python.org/dev/peps/pep-0008/) +![Kodi Version](https://img.shields.io/endpoint?url=https%3A%2F%2Fweberjr.com%2Fkodi-shield%2Fversion%2Frobweber%2Fxbmclibraryautoupdate%2Fmatrix%2Ftrue%2Ftrue) ![Total Downloads](https://img.shields.io/endpoint?url=https%3A%2F%2Fweberjr.com%2Fkodi-shield%2Fdownloads%2Fmatrix%2Fservice.libraryautoupdate%2F1.2.4) [![Build Status](https://img.shields.io/github/actions/workflow/status/robweber/xbmclibraryautoupdate/addon-checker.yml)](https://github.com/robweber/xbmclibraryautoupdate/actions/workflows/addon-checker.yml) [![License](https://img.shields.io/github/license/robweber/xbmclibraryautoupdate)](https://github.com/robweber/xbmclibraryautoupdate/blob/master/LICENSE.txt) [![PEP8](https://img.shields.io/badge/code%20style-pep8-orange.svg)](https://www.python.org/dev/peps/pep-0008/) The Library Updater will update your music and/or video libraries according to times specified by you. Please note that this is just a fancy timer that calls out to the normal Kodi Library Scanning functions. All of the processes associated with scanning are all handed off to Kodi.