Skip to content

Merge pull request #18 from codecov/switch-to-v4-beta #56

Merge pull request #18 from codecov/switch-to-v4-beta

Merge pull request #18 from codecov/switch-to-v4-beta #56

Workflow file for this run

name: Test and coverage
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
- uses: ruby/setup-ruby@v1
with:
ruby-version: head
- name: Install Ruby dependencies
run: bundle update --bundler && bundle install
- name: Run script
run: bashcov script.sh
- name: Upload reports to Codecov
uses: codecov/codecov-action@v4-beta
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_ORG_TOKEN }}
with:
fail_ci_if_error: true
file: coverage/codecov-result.json