Skip to content

Require simplecov only if ENV['SIMPLECOV'] presents #24

Require simplecov only if ENV['SIMPLECOV'] presents

Require simplecov only if ENV['SIMPLECOV'] presents #24

name: "[CI] Ratonvirus - Clamby"
on:
push:
branches:
- develop
- main
- release/*
pull_request:
env:
CI: "true"
SIMPLECOV: "true"
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
test:
name: Tests
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Install dependencies
run: bundle install --jobs 4 --retry 3
- name: RSpec
run: bundle exec rspec
- uses: codecov/codecov-action@v3