Sha256: 59a487cbd672c0f260b6ed11b264bd040b254db01d4c2a5b00acad6b2634909b

Contents?: true

Size: 1.18 KB

Versions: 3

Compression:

Stored size: 1.18 KB

Contents

name: Paysafe

on: [push]

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        ruby: [ '2.4', '2.5', '2.6', '2.7' ]
    name: Ruby ${{ matrix.ruby }}
    steps:
    - uses: actions/checkout@v2

    - uses: actions/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby }}

    - uses: actions/cache@v1
      with:
        path: vendor/bundle
        key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
        restore-keys: |
          ${{ runner.os }}-gems-

    - name: Install rubygems
      run: |
        gem update --system --no-document

    - name: Install bundler
      run: |
        gem install bundler --no-document

    - name: Install dependencies
      run: |
        bundle config path vendor/bundle
        bundle install --jobs 4 --retry 3

    - name: Run Tests
      env:
        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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
paysafe-0.12.0 .github/workflows/ci.yml
paysafe-0.11.0 .github/workflows/ci.yml
paysafe-0.10.0 .github/workflows/ci.yml