summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-11-21 17:02:49 -0700
committermo khan <mo.khan@gmail.com>2020-11-21 17:02:49 -0700
commitfc3633c53a9e78b90e24be36c0cfde4d4aacb52c (patch)
tree1d5d9b3b2e8a2370120cf20b979ea0a679feaf06 /.github
parent486a1a17baef517703e34ecb2af90c9d5df6cff0 (diff)
chore: insteall GH action for running tests
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/test.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 0000000..8af1637
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,16 @@
+name: ci
+on: [push]
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ ruby: [ '2.4', '2.5', '2.6', '2.7' ]
+ name: RSpec Ruby ${{ matrix.ruby }}
+ steps:
+ - uses: actions/checkout@v2
+ - uses: actions/setup-ruby@v1
+ with:
+ ruby-version: ${{ matrix.ruby }}
+ - name: test
+ run: ./script/test