Skip to content

Commit

Permalink
Merge pull request #1308 from Shopify/pz-gh-actions
Browse files Browse the repository at this point in the history
Use GitHub Actions for CI
  • Loading branch information
peterzhu2118 authored Oct 7, 2020
2 parents d250a7f + c28d455 commit bd34cd5
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 26 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/liquid.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Liquid
on: [push]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
entry:
- { ruby: 2.4, allowed-failure: false }
- { ruby: 2.5, allowed-failure: false }
- { ruby: 2.6, allowed-failure: false }
- { ruby: 2.7, allowed-failure: false }
- { ruby: ruby-head, allowed-failure: true }
name: test (${{ matrix.entry.ruby }})
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.entry.ruby }}
- uses: actions/cache@v1
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('Gemfile') }}
restore-keys: ${{ runner.os }}-gems-
- run: bundle install --jobs=3 --retry=3 --path=vendor/bundle
- run: bundle exec rake
continue-on-error: ${{ matrix.entry.allowed-failure }}
memory_profile:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
- uses: actions/cache@v1
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('Gemfile') }}
restore-keys: ${{ runner.os }}-gems-
- run: bundle install --jobs=3 --retry=3 --path=vendor/bundle
- run: bundle exec rake memory_profile:run
26 changes: 0 additions & 26 deletions .travis.yml

This file was deleted.

0 comments on commit bd34cd5

Please sign in to comment.