Skip to content

Update dependabot.yml #162

Update dependabot.yml

Update dependabot.yml #162

Workflow file for this run

name: Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: [ '3.0', '3.1', '3.2' ]
env:
CODECOV_UPLOAD_TAG: ${{ matrix.ruby }}
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"
PAYSAFE_ACCOUNT_NUMBER: test
PAYSAFE_API_KEY: test
PAYSAFE_API_SECRET: test
PAYSAFE_SUT_API_KEY: test
PAYSAFE_SUT_API_SECRET: test
PAYSAFE_UNITY_API_KEY: test
PAYSAFE_UNITY_API_SECRET: test
PAYSAFE_UNITY_SUT_API_KEY: test
PAYSAFE_UNITY_SUT_API_SECRET: test
run: |
bundle exec rake
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
env_vars: CODECOV_UPLOAD_TAG
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}