diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index ec33a2bad..e3938608e 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -23,9 +23,25 @@ jobs: id: changed-files uses: tj-actions/changed-files@v45 + gooddata-ruby-lcm-integration-e2e: + needs: + - prepare-env + uses: ./.github/workflows/lcm-integration-e2e.yaml + secrets: inherit + permissions: + id-token: write + contents: read + if: ${{ needs.prepare-env.outputs.branch == 'master' }} + with: + AUTO_MERGE: false + base_branch: ${{ needs.prepare-env.outputs.branch }} + pr_number: ${{ needs.prepare-env.outputs.pr_number }} + java_version: '11' + ruby_version: 'jruby-9.4.12.1' + gooddata-ruby-lcm-build-pipeline: - #needs: - # - gooddata-ruby-lcm-integration-e2e + needs: + - gooddata-ruby-lcm-integration-e2e permissions: contents: read id-token: write @@ -97,7 +113,7 @@ jobs: needs: - prepare-env - gooddata-ruby-lcm-build-pipeline - # - gooddata-ruby-fossa-licenses-validate-LR-ticket-zuul + - gooddata-ruby-fossa-licenses-validate-LR-ticket-zuul steps: - name: Check if needed jobs succeeded uses: re-actors/alls-green@release/v1 diff --git a/lib/gooddata/rest/connection.rb b/lib/gooddata/rest/connection.rb index 33e1fb771..4c1a3642e 100644 --- a/lib/gooddata/rest/connection.rb +++ b/lib/gooddata/rest/connection.rb @@ -33,8 +33,6 @@ class Connection TOKEN_PATH = '/gdc/account/token' KEYS_TO_SCRUB = [:password, :verifyPassword, :authorizationToken] API_LEVEL = 2 - KB = 1024 - MB = 1024 * KB ID_LENGTH = 16 diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 90f128a97..06a2feff5 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -41,6 +41,12 @@ GoodData::Environment.load +if RUBY_ENGINE == "jruby" && RUBY_ENGINE_VERSION >= '9.4.12.0' + KB = 1024 + MB = 1024 * KB + Psych::Parser.code_point_limit = 100 * MB +end + RSpec::Expectations.configuration.warn_about_potential_false_positives = false RSpec.configure do |config|