Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,21 @@ on:

pull_request:

env:
RAILS_ENV: test

jobs:
build:
runs-on: ubuntu-latest
name: Ruby ${{ matrix.ruby }}
name: Ruby ${{ matrix.ruby }} / ${{ matrix.asset_pipeline }}
strategy:
fail-fast: false
matrix:
ruby:
- '3.4.4'
asset_pipeline:
- sprockets
- propshaft

steps:
- uses: actions/checkout@v4
Expand All @@ -23,9 +30,19 @@ jobs:
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
env:
BUNDLE_GEMFILE: gemfiles/${{ matrix.asset_pipeline }}.gemfile
- name: Build Propshaft assets
if: matrix.asset_pipeline == 'propshaft'
run: bundle exec rails dartsass:build
working-directory: spec/dummy
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.asset_pipeline }}.gemfile
- name: Set up Chrome
uses: browser-actions/setup-chrome@v1
with:
chrome-version: stable
- name: Run the default task
run: bundle exec rake
env:
BUNDLE_GEMFILE: gemfiles/${{ matrix.asset_pipeline }}.gemfile
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,15 @@
/coverage/
/doc/
/Gemfile.lock
*gemfile.lock
/pkg/
/spec/reports/
/spec/dummy/app/assets/builds/
tmp/
*.log
node_modules/
yarn.lock
package-lock.json

# Database files
*.sqlite3
Expand Down

Large diffs are not rendered by default.

Loading