1
0
Fork 0
mirror of https://github.com/middleman/middleman.git synced 2022-11-09 12:20:27 -05:00
middleman--middleman/.github/workflows/ci.yml
Alexey Vasiliev f9f92dd52b
External pipeline manifest helpers (#2528)
* Update middleman-core gemspec deps (allow activesupport 7 usage)

* update lock file

* fix yaml loading

* fix dump for yaml

* update bundler for ruby 3.1

* Array, Hash allowed in safe_load + use CLOCK_MONOTONIC

* Update test deps

* back contracts 0.16.0

* update mini_racer

* fix corrupted cache

* lock contracts gem (patch version break middleman)

* add x86_64-linux platform to lock

* add x86_64-linux and x86_64-darwin-20 platforms to lock

* revert fix corrupted cache

* disable check 3.1 - nokogiri issue

* Support ruby 3.0.0 (commented some contracts)

* Fix rubocop

* no success for 3.1 - mini_racer build error on CI

* be more specific about padrino-helpers

* trying to back 3.1

* try to disable platform fetch

* disable js runtime

* trying to fix https://github.com/simplecov-ruby/simplecov/issues/1003

* `Trying to back min_racer

* No success with min_racer

* remove comments, move in correct place openssl

* Support manifest json for external pipeline

* Support manifest json helpers for external pipeline

* Add tests for external pipeline helpers

* Add tests for external pipeline helpers, more cases

* Add tests for external pipeline helpers, more cases
2022-01-30 09:44:54 -08:00

26 lines
630 B
YAML

name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ${{ matrix.os }}-latest
continue-on-error: ${{ matrix.experimental == true }}
name: ${{ matrix.os }}-ruby-${{ matrix.ruby-version }}
strategy:
matrix:
os: [ubuntu, macos]
ruby-version: ['3.1', '3.0']
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Runs linter
run: bundle exec rake rubocop
- name: Runs tests
run: bundle exec rake test
env:
TEST: true