Sha256: ad06fcd62c577380be8e28d4b021b959adaf96e4c150621c71ec5573fd6e8840
Contents?: true
Size: 1.83 KB
Versions: 2
Compression:
Stored size: 1.83 KB
Contents
name: Test on: push: pull_request: workflow_dispatch: jobs: test: runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: ruby_version: ["2.7", "3.0", "3.1", "3.2"] os: ["ubuntu-latest","windows-latest","macos-latest"] steps: - uses: actions/checkout@v4 - 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: [""] steps: - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: ruby-version: "3.2" - run: "bundle install" # Publish to old and new account until we can disable the old account - run: | rm -rf spec/pacts/* bundle exec rspec spec/service_providers/ VERBOSE=true bundle exec rake pact:publish:pactflow_oss VERBOSE=true bundle exec rake pact:publish:pactflow_pact_foundation env: PACT_BROKER_TOKEN: ${{ secrets.PACTFLOW_PACT_OSS_TOKEN }} PACT_BROKER_TOKEN_PACT_FOUNDATION: ${{ secrets.PACT_BROKER_TOKEN_PACT_FOUNDATION }} 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-foundation.pactflow.io \ -e PACT_BROKER_TOKEN \ pactfoundation/pact-cli:latest \ broker can-i-deploy \ --pacticipant "Pact Broker Client" --version ${GITHUB_SHA} \ --pacticipant "Pact Broker" --branch master env: PACT_BROKER_TOKEN: ${{ secrets.PACT_BROKER_TOKEN_PACT_FOUNDATION }}
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pact_broker-client-1.75.1 | .github/workflows/test.yml |
pact_broker-client-1.75.0 | .github/workflows/test.yml |