From dc55d81752b8f86a02ff1c46d60b7ebdc4420f72 Mon Sep 17 00:00:00 2001 From: SaadYousaf Date: Wed, 27 Sep 2023 13:11:48 +0500 Subject: [PATCH] feat: add ruby 3.1 ci pipeline for tests --- .github/workflows/ci.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b85e5f3106..2e626f964a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,12 +13,15 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - ruby-version: ['3.0.4'] + ruby-version: ['3.0.4', '3.1.0'] mongodb-version: ['4.2.14'] include: - ruby-version: 3.0.4 gemfile: Gemfile3 allow-failure: false + - ruby-version: 3.1.0 + gemfile: Gemfile3 + allow-failure: false env: SEARCH_SERVER_ES7: http://localhost:9200 MONGOHQ_URL: mongodb://localhost:27017/cs_comments_service_test @@ -54,7 +57,9 @@ jobs: uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby-version }} - bundler-cache: true + + - name: Install packages required + run: sudo apt-get install libxslt-dev libxml2-dev - name: Install dependencies run: bundle install