Project

General

Profile

Feature #30069 » 0002-Add-SCM-tests-bazaar-cvs-bazaar-non-ascii.patch

Mizuki ISHIKAWA, 2024-11-16 08:10

View differences:

.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 bzr cvs
53
          sudo locale-gen en_US # for bazaar non ascii test
53 54

  
54 55
      - name: Allow imagemagick to read PDF files
55 56
        run: |
......
79 80
      - name: Run prepare test environment
80 81
        env:
81 82
          RAILS_ENV: test
82
          SCMS: subversion,git,git_utf8,filesystem
83
          SCMS: subversion,git,git_utf8,filesystem,bazaar,cvs
83 84
        run: |
84 85
          bundle exec rake ci:about
85 86
          bundle exec rake ci:setup
86 87
          bundle exec rake db:environment:set
87 88

  
89
      - name: Run bazaar non ascii test
90
        env:
91
          LANG: en_US.ISO8859-1
92
          LC_ALL: en_US.ISO8859-1
93
        run: |
94
          bundle exec rake test TEST=test/unit/repository_bazaar_test.rb
95

  
88 96
      - name: Run tests
89 97
        run: |
90 98
          bin/rails test
(4-4/4)