From c397fce8aee8f17d0fff7138817b0ad27a94c6ac Mon Sep 17 00:00:00 2001 From: Tony Hsu Date: Thu, 23 May 2024 21:38:02 +0200 Subject: [PATCH 1/2] require "datadog/ci" --- spec/spec_helper.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 47bc159..188b47e 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,6 +1,7 @@ # frozen_string_literal: true require "leash" +require "datadog/ci" RSpec.configure do |config| # Enable flags like --only-failures and --next-failure From 509cea7d9d135e9174653f5aefeac029a8877253 Mon Sep 17 00:00:00 2001 From: Tony Hsu Date: Thu, 23 May 2024 21:44:07 +0200 Subject: [PATCH 2/2] Additional step for running ITR --- .github/workflows/test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ca1b6a6..16c2f00 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -34,6 +34,8 @@ jobs: - name: Install dependencies run: bundle install - name: Run tests + run: bundle exec rake spec + - name: Run tests with ITR env: DD_CIVISIBILITY_AGENTLESS_ENABLED: true DD_CIVISIBILITY_ITR_ENABLED: true