Skip to content

Merge pull request #416 from DavidS/claude/check-refresh-status-HIyiN #100

Merge pull request #416 from DavidS/claude/check-refresh-status-HIyiN

Merge pull request #416 from DavidS/claude/check-refresh-status-HIyiN #100

Workflow file for this run

name: Tests
on: [push]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
base-test:
strategy:
fail-fast: false
matrix:
# Quoted to keep YAML from coercing trailing-zero versions like '3.0' / '4.0'
# to floats (https://github.com/actions/runner/issues/849).
ruby: ["3.2", "3.3", "3.4", "4.0"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install ImageMagick headers for rmagick
run: sudo apt-get update && sudo apt-get install -y libmagickwand-dev
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- run: bundle exec rake
test-site:
strategy:
fail-fast: false
matrix:
# Quoted to keep YAML from coercing trailing-zero versions like '3.0' / '4.0'
# to floats (https://github.com/actions/runner/issues/849).
ruby: ["3.2", "3.3", "3.4", "4.0"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install ImageMagick headers for rmagick
run: sudo apt-get update && sudo apt-get install -y libmagickwand-dev
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
working-directory: spec/fixtures/test_site
- id: build-test-site
working-directory: spec/fixtures/test_site
run: |
bundle exec jekyll build --strict --trace --verbose
find _site -type f
echo -e '\n===\n'
cat _site/gallery_one/index.html
file _site/gallery_two/third/Morgenspaziergang-3.jpg_thumb.jpg