diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2dfd9fe..4008a39 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,36 +20,4 @@ jobs: - name: build images run: docker image build --build-arg PYTHON_VERSION=${{ matrix.version }} -t pybanybadge:${{ matrix.version }} . - - name: save pybanybadge ${{ matrix.version }} image - if: ${{ matrix.version == '3.9' }} - run: | - mkdir -p images - docker save --output images/pybanybadge-${{ matrix.version }}.tar pybanybadge:${{ matrix.version }} - - name: upload pybanybadge ${{ matrix.version }} image artifact - if: ${{ matrix.version == '3.9' }} - uses: actions/upload-artifact@v2 - with: - name: image - path: images/pybanybadge-${{ matrix.version }}.tar - coverage: - name: Publish Code Coverage Report - needs: build-images - runs-on: ubuntu-20.04 - steps: - - name: download image artifact - uses: actions/download-artifact@v2 - with: - name: image - path: images/ - - name: load image - run: - docker load --input images/pybanybadge-3.9.tar - - name: prepare report - run: | - ID=$(docker create pybanybadge:3.9) - docker cp $ID:/code/target/reports/pybuilder-anybadge_coverage.xml pybanybadge_coverage.xml - sed -i -e 's,filename="pybanybadge/,filename="src/main/python/pybanybadge/,g' pybanybadge_coverage.xml - - name: upload report - uses: codecov/codecov-action@v2 - with: - file: pybanybadge_coverage.xml + diff --git a/README.md b/README.md index 9a9bbcb..a0b7ac5 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,5 @@ # pybuilder-anybadge [![GitHub Workflow Status](https://github.com/soda480/pybuilder-anybadge/workflows/build/badge.svg)](https://github.com/soda480/pybuilder-anybadge/actions) -[![Code Coverage](https://codecov.io/gh/soda480/pybuilder-anybadge/branch/main/graph/badge.svg)](https://codecov.io/gh/soda480/pybuilder-anybadge) -[![Code Grade](https://api.codiga.io/project/34777/status/svg)](https://app.codiga.io/hub/project/34777/pybuilder-anybadge) [![PyPI version](https://badge.fury.io/py/pybuilder-anybadge.svg)](https://badge.fury.io/py/pybuilder-anybadge) [![python](https://img.shields.io/badge/python-3.7%20%7C%203.8%20%7C%203.9%20%7C%203.10-teal)](https://www.python.org/downloads/) diff --git a/build.py b/build.py index 0a44de5..01730a6 100644 --- a/build.py +++ b/build.py @@ -19,7 +19,7 @@ authors = [Author('Emilio Reyes', 'soda480@gmail.com')] summary = 'A pybuilder plugin that generates badges for your project' url = 'https://github.com/soda480/pybuilder-anybadge' -version = '0.3.3' +version = '0.3.4' default_task = [ 'clean', 'analyze',