Skip to content
This repository was archived by the owner on Apr 16, 2024. It is now read-only.

Commit dc49b1f

Browse files
committed
add ci
1 parent d7f6b12 commit dc49b1f

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/tests.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: tests
2+
3+
on: [push, pull_request]
4+
jobs:
5+
test:
6+
runs-on: ubuntu-latest
7+
continue-on-error: ${{ matrix.failure-allowed }}
8+
strategy:
9+
matrix:
10+
ruby-version: ['2.4.1', '2.7.4', '3.0.2']
11+
failure-allowed: [false]
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Install Pandoc
15+
run: |
16+
curl -L https://github.com/jgm/pandoc/releases/download/2.9.1.1/pandoc-2.9.1.1-1-amd64.deb > pandoc.deb
17+
dpkg -x pandoc.deb .
18+
echo "pandoc downloaded and unpacked"
19+
echo "$PWD/usr/bin" >> $GITHUB_PATH
20+
- name: Set up Ruby
21+
uses: ruby/setup-ruby@v1
22+
with:
23+
ruby-version: ${{ matrix.ruby-version }}
24+
bundler-cache: true
25+
- name: Run specs
26+
run: |
27+
bundle exec ruby -v
28+
bundle exec rake spec

0 commit comments

Comments
 (0)