Sha256: 5057f7cd29278be53c0a1a4a1b51dc309dc6d084a87734aa9fdbbe353aa3a2b9
Contents?: true
Size: 1.79 KB
Versions: 2
Compression:
Stored size: 1.79 KB
Contents
name: Test on: [push, pull_request] 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@v3 - 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@v3 - 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-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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pact_broker-client-1.72.0 | .github/workflows/test.yml |
pact_broker-client-1.71.0 | .github/workflows/test.yml |