Sha256: 4ebfa4d062d24890ba19f85195154cc9368a861c0864ae72e56797733f08a043

Contents?: true

Size: 1.07 KB

Versions: 1

Compression:

Stored size: 1.07 KB

Contents

name: Test Coverage

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  coverage:
    name: coverage
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v3
    - name: Set up Ruby
      uses: ruby/setup-ruby@ece82769428359c077b5a5eaff268902a303c101
      with:
        ruby-version: 3.0
        bundler-cache: true # runs 'bundle install' and caches installed gems automatically
    - name: Install cc-test-reporter and prebuild notification
      run: |
        curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
        chmod +x ./cc-test-reporter
        ./cc-test-reporter before-build
    - name: Run tests
      env:
        COVERAGE: 1
        API_KEY: "${{secrets.API_KEY}}"
        DYNAMIC_LINK_DOMAIN: "${{ secrets.DYNAMIC_LINK_DOMAIN }}"
      run: bundle exec rspec
    - name: CodeClimate Post-build upload
      env:
        CC_TEST_REPORTER_ID: 22b531be7956bd878ec8ce211da98c483c9724eebc8eb72f99d064f00aa6e985
      run: ./cc-test-reporter -d -t simplecov after-build

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
firebase_dynamic_link-3.0.0 .github/workflows/coverage.yml