diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 89f7fa5810a0f3e8a804f83aa6ae54f247ded946..e5622e004ea95389c7ab113d329473b882a120a8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,6 +18,18 @@ jobs: sudo apt-get update sudo apt-get install -y python3-setuptools python3-yaml python3-dev pip install -U pip pytest coverage pytest-cov Cython setuptools - python setup.py install + - name: Before the coverage + run: | + wget https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 + chmod ugo+x test-reporter-latest-linux-amd64 + ./test-reporter-latest-linux-amd64 before-build - name: Test - run: pytest + run: coverage run setup.py test + env: + DEBUG: '1' + - name: Submit the code coverage + run: | + coverage xml + ./test-reporter-latest-linux-amd64 after-build -t coverage.py + ./test-reporter-latest-linux-amd64 format-coverage -t coverage.py -o codeclimate.json + ./test-reporter-latest-linux-amd64 upload-coverage -i codeclimate.json diff --git a/README.md b/README.md index 5b29951458ba491023044b9e3380ce5f84236069..f30f3415d633bbf29fbb4551ff14c4f40479073e 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ MiniJSON ======== -[](https://github.com/smok-serwis/minijson) + [](https://codeclimate.com/github/smok-serwis/minijson/maintainability) [](https://codeclimate.com/github/smok-serwis/minijson/test_coverage) [](https://codeclimate.com/github/smok-serwis/minijson) @@ -19,7 +19,7 @@ Note ==== Active development of minijson is moved to this fork. -Dronehub has no interest in further developing this awesome technology. +[Dronehub](https://github.com/Dronehub) has no interest in further developing this awesome technology. Usage ----- diff --git a/docs/changelog.rst b/docs/changelog.rst index 1c46f065b7e405664f9d25f66c94378b8c1bb7e8..0bd8e5e81ba45adf32c5352218c98c0ef4d4d349 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -1,6 +1,11 @@ Changelog ========= +v1.3 +---- + +* switched to GitHub Actions for CI/CD + v2.11 -----