Sha256: 4afe5df1560bb9c98ea70565e061cf0060b24da320943fbbbe04f15f5d435cd7

Contents?: true

Size: 1.01 KB

Versions: 12

Compression:

Stored size: 1.01 KB

Contents

name: Tests

on:
  push:
    branches:
      - main
  pull_request:
    branches:
      - main

concurrency:
  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
  cancel-in-progress: true

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout repository
        uses: actions/checkout@v2

      - name: Install Ruby version specified in `.ruby-version`
        uses: eregon/use-ruby-action@master # this will use by default the .ruby-version file in your repository

      - name: Install required apt packages
        run: |
          sudo apt-get -y install libpq-dev

      - name: Bundle install
        run: |
          bundle config path vendor/bundle
          bundle install

      - name: Rspec tests
        run: bundle exec rspec
        env:
          COVERAGE_DIR: coverage

      - name: Upload to Codecov
        uses: codecov/codecov-action@v4-beta
        env:
          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
        with:
          file: coverage/coverage.xml

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
ruby-experian-0.1.3 .github/workflows/tests.yml
ruby-experian-0.1.2 .github/workflows/tests.yml
ruby-experian-0.1.1 .github/workflows/tests.yml
ruby-experian-0.0.9 .github/workflows/tests.yml
ruby-experian-0.0.8 .github/workflows/tests.yml
ruby-experian-0.0.7 .github/workflows/tests.yml
ruby-experian-0.0.6 .github/workflows/tests.yml
ruby-experian-0.0.5 .github/workflows/tests.yml
ruby-experian-0.0.4 .github/workflows/tests.yml
ruby-experian-0.0.3 .github/workflows/tests.yml
ruby-experian-0.0.2 .github/workflows/tests.yml
ruby-experian-0.0.1 .github/workflows/tests.yml