Sha256: ccf843ee2cb18a7243129550f9ef6de626668ab338a8894b1ba8e6acbceda52b

Contents?: true

Size: 1.28 KB

Versions: 33

Compression:

Stored size: 1.28 KB

Contents

name: integration-tests

on:
  push:
    branches: [ master, main ]
  pull_request:

jobs:
  tests:
    name: Integration test ${{ matrix.repo }}
    runs-on: ubuntu-latest

    concurrency:
      group: '${{ github.workflow }}-${{ github.job }}-${{ matrix.repo }}-${{ github.head_ref || github.ref_name }}'
      cancel-in-progress: true

    continue-on-error: true
    strategy:
      matrix:
        repo: [ relaton-render ]

    steps:
    - uses: actions/checkout@v3
      with:
        submodules: true

    - uses: ruby/setup-ruby@v1
      with:
        ruby-version: '3.1'
        bundler-cache: true

    - uses: actions/checkout@v3
      with:
        submodules: recursive
        repository: relaton/${{ matrix.repo }}
        path: ${{ matrix.repo }}
        fetch-depth: 0

    - if: github.event_name == 'pull_request'
      run: |
        if [ `git rev-parse --verify "${GITHUB_HEAD_REF}" 2>/dev/null` ]
        then
          git checkout "${GITHUB_HEAD_REF}"
        fi
      working-directory: ${{ matrix.repo }}

    - run: |
        gem_name=$(echo ${GITHUB_REPOSITORY} | cut -d "/" -f 2)
        bundle remove ${gem_name} || true
        bundle add ${gem_name} --path ..
      working-directory: ${{ matrix.repo }}

    - run: bundle exec rake
      working-directory: ${{ matrix.repo }}

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
relaton-bib-1.20.4 .github/workflows/integration-tests.yml
relaton-bib-1.20.3 .github/workflows/integration-tests.yml
relaton-bib-1.20.2 .github/workflows/integration-tests.yml
relaton-bib-1.19.7 .github/workflows/integration-tests.yml
relaton-bib-1.20.1 .github/workflows/integration-tests.yml
relaton-bib-1.20.0 .github/workflows/integration-tests.yml
relaton-bib-1.19.6 .github/workflows/integration-tests.yml
relaton-bib-1.19.5 .github/workflows/integration-tests.yml
relaton-bib-1.19.4 .github/workflows/integration-tests.yml
relaton-bib-1.19.3 .github/workflows/integration-tests.yml
relaton-bib-1.19.2 .github/workflows/integration-tests.yml
relaton-bib-1.19.1 .github/workflows/integration-tests.yml
relaton-bib-1.19.0 .github/workflows/integration-tests.yml
relaton-bib-1.18.5 .github/workflows/integration-tests.yml
relaton-bib-1.18.3 .github/workflows/integration-tests.yml
relaton-bib-1.18.2 .github/workflows/integration-tests.yml
relaton-bib-1.18.1 .github/workflows/integration-tests.yml
relaton-bib-1.18.0 .github/workflows/integration-tests.yml
relaton-bib-1.17.2 .github/workflows/integration-tests.yml
relaton-bib-1.17.1 .github/workflows/integration-tests.yml