Sha256: e46051886cebd421633cd113ed3ec0fa6877c919299d316c8583244ada1e20d6

Contents?: true

Size: 1.24 KB

Versions: 2

Compression:

Stored size: 1.24 KB

Contents

name: ManageIQ Cross Repo Workflow

on:
  workflow_call:
    inputs:
      test-repos:
        required: true
        type: string
      repos:
        required: true
        type: string
      test-suite:
        required: false
        type: string

jobs:
  ci:
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        test-repo: ${{ fromJson(inputs.test-repos) }}
    services:
      postgres:
        image: manageiq/postgresql:10
        env:
          POSTGRESQL_USER: root
          POSTGRESQL_PASSWORD: smartvm
          POSTGRESQL_DATABASE: vmdb_test
        options: --health-cmd pg_isready --health-interval 2s --health-timeout 5s --health-retries 5
        ports:
        - 5432:5432
    env:
      TEST_SUITE: ${{ inputs.test-suite }}
      REPOS: ${{ inputs.repos }}
      TEST_REPO: ${{ matrix.test-repo }}
      PGHOST: localhost
      PGPASSWORD: smartvm
    steps:
    - uses: actions/checkout@v2
    - name: Set up Ruby
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: 2.7
        bundler-cache: true
    - name: Set up Node
      uses: actions/setup-node@v2
      with:
        node-version: 12
        registry-url: https://npm.manageiq.org/
    - name: Run tests
      run: bundle exec manageiq-cross_repo

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
manageiq-cross_repo-2.2.0 .github/workflows/manageiq_cross_repo.yaml
manageiq-cross_repo-2.1.0 .github/workflows/manageiq_cross_repo.yaml