diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2024-11-16 09:36:40 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2024-11-16 09:36:40 +0000 |
commit | 9ac04f3d84fc835ee18c5ed38119cba7f39de5c3 (patch) | |
tree | 11e8074ca242b6876aec7306c7a8fdddcf5c2f7b | |
parent | 9b7718af58d4271eb53614b9a7dafe8777f77673 (diff) | |
download | redmine-9ac04f3d84fc835ee18c5ed38119cba7f39de5c3.tar.gz redmine-9ac04f3d84fc835ee18c5ed38119cba7f39de5c3.zip |
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
-rw-r--r-- | .github/workflows/tests.yml | 14 |
1 files 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 |