Sha256: b43b8ae2d6e36d241627fc9d6851c4332db5a2e7ae1436531df0a713e61c31f5
Contents?: true
Size: 1.64 KB
Versions: 1
Compression:
Stored size: 1.64 KB
Contents
name: Test on: [push, pull_request] 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"] 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 }} can-i-deploy: runs-on: "ubuntu-latest" needs: pact steps: - run: | docker run --rm \ -e PACT_BROKER_BASE_URL=https://pact-oss.pactflow.io \ -e PACT_BROKER_TOKEN \ pactfoundation/pact-cli:latest \ broker can-i-deploy \ --pacticipant "Pact Broker Client" --version ${GITHUB_SHA} \ --pacticipant "Pact Broker" --latest master env: PACT_BROKER_TOKEN: ${{ secrets.PACTFLOW_PACT_OSS_TOKEN }}
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pact_broker-client-1.50.0 | .github/workflows/test.yml |