Skip to content

Use Alchemy::RelatableResource #134

Use Alchemy::RelatableResource

Use Alchemy::RelatableResource #134

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
concurrency:
group: test-${{ github.ref_name }}
cancel-in-progress: ${{ github.ref_name != 'main' }}
jobs:
Rspec:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
ruby-version:
- "3.3"
- "3.4"
- "4.0"
alchemy:
- "8.3-stable"
- "main"
solidus:
- "v4.5"
- "v4.6"
- "v4.7"
env:
ALCHEMY_BRANCH: ${{ matrix.alchemy }}
SOLIDUS_BRANCH: ${{ matrix.solidus }}
SOLIDUS_SKIP_MIGRATIONS_CHECK: true
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Prepare tests
run: bundle exec rake test_setup
- name: Run tests
run: bundle exec rspec