From b4027cc4836059d6a514a8b0d2022bb8f0a0f6af Mon Sep 17 00:00:00 2001 From: Alexey Zapparov Date: Fri, 19 Jan 2024 05:40:02 +0100 Subject: [PATCH] ci: Run Sidekiq-Pro test suites if license present (#179) --- .github/workflows/ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 377a8391..acc1a31b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,7 +40,13 @@ jobs: ruby-version: ${{ matrix.ruby }} bundler-cache: true - - run: bundle exec rake test + - name: Run test suites + run: | + if [[ -n "${BUNDLE_GEMS__CONTRIBSYS__COM}" ]]; then + cp .rspec.sidekiq-pro .rspec-local + fi + + bundle exec rake test - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v3