.github/workflows/integration_test.yml in inline_svg-1.7.2 vs .github/workflows/integration_test.yml in inline_svg-1.8.0
- old
+ new
@@ -6,24 +6,24 @@
build:
runs-on: ubuntu-latest
strategy:
matrix:
- test-branch: [rails3, rails4, main, rails6, rails6-webpacker]
+ test-branch: [rails5, rails6, rails7]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Checkout test app
uses: actions/checkout@v2
with:
repository: jamesmartin/inline_svg_test_app
ref: ${{ matrix.test-branch }}
path: test_app
- - name: Set up Ruby 2.6
+ - name: Set up Ruby 2.7
uses: actions/setup-ruby@v1
with:
- ruby-version: 2.6.x
+ ruby-version: 2.7.x
- name: Build local gem
run: |
gem install bundler
bundle install --jobs 4 --retry 3
bundle exec rake build
@@ -39,20 +39,9 @@
grep "inline_svg" $GITHUB_WORKSPACE/test_app/Gemfile
- name: Bundle
run: |
cd $GITHUB_WORKSPACE/test_app
bundle install --jobs 4 --retry 3
- - name: Set up Node.js 12.x
- uses: actions/setup-node@v1
- with:
- node-version: 12.x
- if: matrix.test-branch == 'rails6-webpacker'
- - name: Generate Webpacker config
- run: |
- cd $GITHUB_WORKSPACE/test_app
- yarn install --check-files
- bundle exec rake webpacker:compile
- if: matrix.test-branch == 'rails6-webpacker'
- name: Test
run: |
cd $GITHUB_WORKSPACE/test_app
bundle exec rake test