mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-01 03:57:15 +00:00
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
This commit is contained in:
parent
9b7718af58
commit
9ac04f3d84
14
.github/workflows/tests.yml
vendored
14
.github/workflows/tests.yml
vendored
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user