.github/workflows/ci.yml in rtesseract-3.1.2 vs .github/workflows/ci.yml in rtesseract-3.1.3

- old
+ new

@@ -4,28 +4,34 @@ test: runs-on: ubuntu-latest strategy: matrix: ruby: - - '2.5.x' - - '2.6.x' - - '2.7.x' + - '2.7.4' + - '3.2.0' + repository: + - 'ppa:alex-p/tesseract-ocr5' + - 'ppa:alex-p/tesseract-ocr-devel' steps: - uses: actions/checkout@v2 - name: Install tesseract-ocr run: | - sudo add-apt-repository ppa:alex-p/tesseract-ocr -y + sudo add-apt-repository ${{ matrix.repository }} -y sudo apt-get update -q sudo apt-get install tesseract-ocr tesseract-ocr-eng ghostscript -y + tesseract --version - name: Setup Ruby - uses: actions/setup-ruby@v1 + uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - name: Bundle - env: - MTSR_RAILS_VERSION: ${{ matrix.rails }} run: | gem uninstall -aIx bundler gem install bundler bundle install --jobs 4 --retry 3 - name: Test run: bundle exec rake + - name: Coverage + env: + CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }} + run: bash <(curl -Ls https://coverage.codacy.com/get.sh) report -l Ruby -r coverage/lcov/* +