From 33398ff99c5e057a996c101c446b8ca410a8819f Mon Sep 17 00:00:00 2001 From: ishikawa999 Date: Sat, 16 Nov 2024 06:17:14 +0000 Subject: [PATCH 2/2] Add SCM tests (bazaar, cvs, bazaar non ascii) --- .github/workflows/tests.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ae2eca226..bf144bf28 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -46,10 +46,11 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Install package dependencies + - name: Install dependencies and configure environment run: | sudo apt-get update - sudo apt-get install --yes --quiet ghostscript gsfonts + sudo apt-get install --yes --quiet ghostscript gsfonts locales bzr cvs + sudo locale-gen en_US # for bazaar non ascii test - name: Allow imagemagick to read PDF files run: | @@ -79,12 +80,19 @@ jobs: - name: Run prepare test environment env: RAILS_ENV: test - SCMS: subversion,git,git_utf8,filesystem + SCMS: subversion,git,git_utf8,filesystem,bazaar,cvs run: | bundle exec rake ci:about bundle exec rake ci:setup bundle exec rake db:environment:set + - name: Run bazaar non ascii test + env: + LANG: en_US.ISO8859-1 + LC_ALL: en_US.ISO8859-1 + run: | + bundle exec rake test TEST=test/unit/repository_bazaar_test.rb + - name: Run tests run: | bin/rails test -- 2.46.1