diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml new file mode 100644 index 0000000..3388d12 --- /dev/null +++ b/.github/workflows/codecov.yml @@ -0,0 +1,21 @@ +--- +name: codecov +on: + push: + branches: + - master +jobs: + codecov: + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: 2.7 + - run: bundle update + - run: bundle exec rake + - uses: codecov/codecov-action@v4.0.0-beta.3 + with: + token: ${{ secrets.CODECOV_TOKEN }} + file: coverage/.resultset.json + fail_ci_if_error: true diff --git a/.github/workflows/pdd.yml b/.github/workflows/pdd.yml index 28ecd06..78277a2 100644 --- a/.github/workflows/pdd.yml +++ b/.github/workflows/pdd.yml @@ -2,10 +2,14 @@ name: pdd on: push: + branches: + - master pull_request: + branches: + - master jobs: pdd: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - - uses: g4s8/pdd-action@master + - uses: volodya-lombrozo/pdd-action@master diff --git a/README.md b/README.md index 89be687..89c1a91 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,9 @@ +[![DevOps By Rultor.com](http://www.rultor.com/b/yegor256/jekyll-plantuml)](http://www.rultor.com/p/yegor256/jekyll-plantuml) +[![We recommend RubyMine](https://www.elegantobjects.org/rubymine.svg)](https://www.jetbrains.com/ruby/) + [![rake](https://github.com/yegor256/jekyll-plantuml/actions/workflows/rake.yml/badge.svg)](https://github.com/yegor256/jekyll-plantuml/actions/workflows/rake.yml) [![Gem Version](https://badge.fury.io/rb/jekyll-plantuml.svg)](http://badge.fury.io/rb/jekyll-plantuml) +[![Test Coverage](https://img.shields.io/codecov/c/github/yegor256/jekyll-plantuml.svg)](https://codecov.io/github/yegor256/jekyll-plantuml?branch=master) Install it first: