Skip to content

Test superglue_rails #460

Test superglue_rails

Test superglue_rails #460

Workflow file for this run

name: Test superglue_rails
on:
push:
pull_request:
schedule:
- cron: "0 0 * * 0"
workflow_dispatch:
jobs:
build:
name: Ruby ${{ matrix.ruby }}. Rails ${{ matrix.version }}
strategy:
fail-fast: false
matrix:
ruby: ["3.3", "3.2", "3.1"]
version: ["70", "71"]
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Which bundler?
working-directory: ./superglue_rails
run: bundle -v
- name: Using Gemfile
working-directory: ./superglue_rails
run: |
mv -f Gemfile.${{ matrix.version }} ./Gemfile
- name: Bundle install
working-directory: ./superglue_rails
run: bundle install
- name: Run unit test
working-directory: ./superglue_rails
run: bundle exec rake test
- name: Run acceptance test
working-directory: ./superglue_rails
run: BUNDLE_GEMFILE='' ruby -Ilib:test test/acceptance/superglue_installation_acceptance.rb