From 9ac04f3d84fc835ee18c5ed38119cba7f39de5c3 Mon Sep 17 00:00:00 2001 From: Marius Balteanu Date: Sat, 16 Nov 2024 09:36:40 +0000 Subject: Add SCM tests (bazaar, cvs, bazaar non ascii) (#30069). Patch by Mizuki ISHIKAWA (user:ishikawa999). git-svn-id: https://svn.redmine.org/redmine/trunk@23280 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .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 -- cgit v1.2.3