Sha256: 427b1a5780e1203a668a4dcbe8689eaa39283dcddb4a839531d0aec8921b7387

Contents?: true

Size: 1.31 KB

Versions: 5

Compression:

Stored size: 1.31 KB

Contents

name: Test

on: push

jobs:
  ruby-test:
    strategy:
      fail-fast: false
      matrix:
        rubyVersion: ["2.7.8", "3.0.4", "3.1.2", "3.2.2"]
    runs-on: ubuntu-latest
    steps:
      - name: Install SSH Key
        uses: webfactory/ssh-agent@v0.5.2
        with:
          ssh-private-key: ${{ secrets.GH_ACTIONS_SSH_PRIVATE_KEY }}

      - name: Pull
        uses: actions/checkout@v2
        with:
          path: ${{ github.workspace }}/src/github.com/${{ github.repository }}
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.rubyVersion }}
          bundler-cache: true
          cache-version: "${{ matrix.rubyVersion }}-1"
      - name: Run Test
        working-directory: ${{ github.workspace }}/src/github.com/${{ github.repository }}
        run: >
          bash -c "
          mkdir -p /coverage;
          bundle;
          COVERALLS_NOISY=true bundle exec rspec --color --format documentation;"

      - name: Push Coveralls
        continue-on-error: true
        env:
          TOKEN: ${{ secrets.COVERALLS_TOKEN }}
        working-directory: ${{ github.workspace }}/src/github.com/${{ github.repository }}
        run: >
          bash -c "
          wget -cq https://coveralls.io/coveralls-linux.tar.gz -O - | tar -xz;
          ./coveralls -r $TOKEN -f /coverage/lcov.info;"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
hermes_messenger_of_the_gods-3.0.0 .github/workflows/test.yml
hermes_messenger_of_the_gods-3.0.0.rc5 .github/workflows/test.yml
hermes_messenger_of_the_gods-3.0.0.rc4 .github/workflows/test.yml
hermes_messenger_of_the_gods-3.0.0.rc3 .github/workflows/test.yml
hermes_messenger_of_the_gods-3.0.0.rc2 .github/workflows/test.yml