From 421ea870cf3b79e5388ca223cd3f1151ca3ee4a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20Bol=C3=ADvar?= Date: Thu, 14 Nov 2024 14:50:20 +0100 Subject: [PATCH] Install wkhtmltopdf in workflow jobs --- .github/workflows/test.yml | 2 ++ .github/workflows/test_census_sms.yml | 2 ++ .github/workflows/test_stats.yml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 66c106dea..f99b7b109 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -37,6 +37,8 @@ jobs: ruby-version: ${{ env.RUBY_VERSION }} bundler-cache: true - uses: nanasess/setup-chromedriver@v2 + - run: | + sudo apt install wkhtmltopdf - run: bundle exec rake db:test:prepare name: Setup database - name: Precompile assets diff --git a/.github/workflows/test_census_sms.yml b/.github/workflows/test_census_sms.yml index 84332e458..6aa7c4d45 100644 --- a/.github/workflows/test_census_sms.yml +++ b/.github/workflows/test_census_sms.yml @@ -37,6 +37,8 @@ jobs: ruby-version: ${{ env.RUBY_VERSION }} bundler-cache: true - uses: nanasess/setup-chromedriver@v2 + - run: | + sudo apt install wkhtmltopdf - run: bundle exec rake db:test:prepare name: Setup database - name: Precompile assets diff --git a/.github/workflows/test_stats.yml b/.github/workflows/test_stats.yml index e53d2e195..a231f2a06 100644 --- a/.github/workflows/test_stats.yml +++ b/.github/workflows/test_stats.yml @@ -37,6 +37,8 @@ jobs: ruby-version: ${{ env.RUBY_VERSION }} bundler-cache: true - uses: nanasess/setup-chromedriver@v2 + - run: | + sudo apt install wkhtmltopdf - run: bundle exec rake db:test:prepare name: Setup database - name: Precompile assets