Sha256: fa63f559488644d13e0d901e8ca2c49677352742ec97b80ef906311ac7e81789

Contents?: true

Size: 1.14 KB

Versions: 3

Compression:

Stored size: 1.14 KB

Contents

name: Test

on: push

jobs:
  test:
    runs-on: "ubuntu-latest"
    continue-on-error: ${{ matrix.experimental }}
    strategy:
      fail-fast: false
      matrix:
        ruby_version: ["2.2", "2.7"]
        experimental: [false]
        include:
          - ruby_version: "3.0"
            experimental: true
    steps:
      - uses: actions/checkout@v2
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby_version }}
      - run: "bundle install"
      - run: "bundle exec rake"
  pact:
    runs-on: "ubuntu-latest"
    continue-on-error: true
    strategy:
      fail-fast: false
      matrix:
        feature: ["", "publish_contracts", "deployments"]
    steps:
      - uses: actions/checkout@v2
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: "2.7"
      - run: "bundle install"
      - run: |
          rm -rf spec/pacts/*
          bundle exec rspec spec/service_providers/
          bundle exec rake pact:publish:pactflow
        env:
          PACT_BROKER_TOKEN: ${{ secrets.PACTFLOW_PACT_OSS_TOKEN }}
          PACT_BROKER_FEATURES: ${{ matrix.feature }}
          TEST_FEATURE: ${{ matrix.feature }}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pact_broker-client-1.46.0 .github/workflows/test.yml
pact_broker-client-1.45.0 .github/workflows/test.yml
pact_broker-client-1.44.0 .github/workflows/test.yml