Skip to content

Bump dotenv from 3.1.4 to 3.1.6 #154

Bump dotenv from 3.1.4 to 3.1.6

Bump dotenv from 3.1.4 to 3.1.6 #154

Workflow file for this run

name: Tests
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby:
- '3.0'
- '3.1'
- '3.2'
- '3.3'
name: Ruby ${{ matrix.ruby }}
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Run Tests
env:
COVERAGE: true
RUBYOPT: "-W:deprecated"
run: bundle exec rake
- name: Rename coverage file by matrix run
run: mv coverage/coverage.xml coverage/coverage-ruby-${{ matrix.ruby }}.xml
- uses: actions/upload-artifact@v4
with:
name: coverage-ruby-${{ matrix.ruby }}
path: coverage
if-no-files-found: error
upload_coverage:
name: Upload Coverage
runs-on: ubuntu-latest
needs: [build]
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
path: coverage
pattern: coverage-ruby-*
merge-multiple: true
- uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: coverage
fail_ci_if_error: true