string-searching/matiyasevich-knuth-morris-pratt

View on GitHub
.github/workflows/ci:cover.yml

Summary

Maintainability
Test Coverage
name: ci:cover
on:
  push:
    branches:
      main
  pull_request:
jobs:
  cover:
    name: Continuous integration (code coverage)
    runs-on: ubuntu-latest
    steps:
      - name: Checkout 🛎️
        uses: actions/checkout@v4

      - name: Install 📦
        uses: bahmutov/npm-install@v1
        with:
          install-command: yarn --frozen-lockfile --ignore-scripts
          useRollingCache: true

      - name: Test and record coverage 🔬
        run: yarn cover

      - name: Publish coverage report 📃
        uses: codecov/codecov-action@v3
        continue-on-error: true
        with:
          fail_ci_if_error: true