Skip to content

Commit

Permalink
Set up CI for 2.5-stable branch (#800)
Browse files Browse the repository at this point in the history
Merge pull request 800
  • Loading branch information
ashmaroli authored Sep 5, 2024
1 parent 38a84a9 commit 1580671
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 14 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Continuous Integration
on:
push:
branches:
- "2.5-stable"
pull_request:
branches:
- "2.5-stable"
jobs:
build:
name: "Test with Jekyll ${{ matrix.jekyll }} (Ruby ${{ matrix.ruby }})"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
jekyll: ["~> 3.9", "~> 4.2"]
ruby: ["2.7", "3.3"]
env:
JEKYLL_VERSION: ${{ matrix.jekyll }}
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: "Set Up Ruby ${{ matrix.ruby }}"
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run tests
run: script/cibuild
14 changes: 0 additions & 14 deletions .travis.yml

This file was deleted.

1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ source "https://rubygems.org"
gemspec

gem "jekyll", ENV["JEKYLL_VERSION"] if ENV["JEKYLL_VERSION"]
gem "kramdown-parser-gfm" if ENV["JEKYLL_VERSION"] == "~> 3.9"

0 comments on commit 1580671

Please sign in to comment.