summaryrefslogtreecommitdiff
path: root/.github/workflows/ubuntu.yml
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-11 07:56:17 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-11 07:56:17 +0900
commit608c0f417b79d2106f5797859420af71861a8a76 (patch)
tree6846a15f52740da38cf074d87d30ff500a072edd /.github/workflows/ubuntu.yml
parent82356236453f6923050d0fb71a5839738e539162 (diff)
downloadpsych-608c0f417b79d2106f5797859420af71861a8a76.zip
Try to use GitHub Actions
Diffstat (limited to '.github/workflows/ubuntu.yml')
-rw-r--r--.github/workflows/ubuntu.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml
new file mode 100644
index 0000000..5ea2493
--- /dev/null
+++ b/.github/workflows/ubuntu.yml
@@ -0,0 +1,24 @@
+name: ubuntu
+
+on: [push]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ ruby: [ '2.6.x', '2.5.x', '2.4.x', '2.3.x' ]
+ steps:
+ - name: Install libraries
+ run: apt install haveged
+ - uses: actions/checkout@master
+ - name: Set up Ruby
+ uses: actions/setup-ruby@v1
+ with:
+ version: ${{ matrix.ruby }}
+ - name: Install dependencies
+ run: |
+ gem install bundler --no-document
+ bundle install
+ - name: Run test
+ run: rake