Feature #30069 » 0002-Add-SCM-tests-bazaar-cvs-bazaar-non-ascii.patch
.github/workflows/tests.yml | ||
---|---|---|
46 | 46 |
- name: Checkout code |
47 | 47 |
uses: actions/checkout@v4 |
48 | 48 | |
49 |
- name: Install package dependencies
|
|
49 |
- name: Install dependencies and configure environment
|
|
50 | 50 |
run: | |
51 | 51 |
sudo apt-get update |
52 |
sudo apt-get install --yes --quiet ghostscript gsfonts |
|
52 |
sudo apt-get install --yes --quiet ghostscript gsfonts locales \ |
|
53 |
bzr mercurial cvs |
|
54 |
sudo locale-gen en_US # for bazaar non ascii test |
|
53 | 55 | |
54 | 56 |
- name: Allow imagemagick to read PDF files |
55 | 57 |
run: | |
... | ... | |
79 | 81 |
- name: Run prepare test environment |
80 | 82 |
env: |
81 | 83 |
RAILS_ENV: test |
82 |
SCMS: subversion,git,git_utf8,filesystem |
|
84 |
SCMS: subversion,git,git_utf8,filesystem,bazaar,cvs
|
|
83 | 85 |
run: | |
84 | 86 |
bundle exec rake ci:about |
85 | 87 |
bundle exec rake ci:setup |
86 | 88 |
bundle exec rake db:environment:set |
87 | 89 | |
90 |
- name: Run bazaar non ascii test |
|
91 |
env: |
|
92 |
LANG: en_US.ISO8859-1 |
|
93 |
LC_ALL: en_US.ISO8859-1 |
|
94 |
run: | |
|
95 |
bundle exec rake test TEST=test/unit/repository_bazaar_test.rb |
|
96 | ||
88 | 97 |
- name: Run tests |
89 | 98 |
run: | |
90 | 99 |
bin/rails test |