Sha256: 05fc23460fb83d6f783f5dac1bc9eea1d1a7130aad4ff4dc9f071cfdd9225c3d

Contents?: true

Size: 1.33 KB

Versions: 1

Compression:

Stored size: 1.33 KB

Contents

name: Tests
on: [push, pull_request]
jobs:
  base-test:
    strategy:
      fail-fast: false
      matrix:
        # Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0'
        ruby: ["2.7", "3.0", "3.1"]
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - 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:
        # Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0'
        ruby: ["2.7", "3.0", "3.1"]
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - 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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cheesy-gallery-1.1.1 .github/workflows/tests.yaml