-
-
Notifications
You must be signed in to change notification settings - Fork 40
35 lines (34 loc) · 872 Bytes
/
CI.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Tests
on: [push, pull_request]
jobs:
tests:
runs-on: ${{ matrix.os }}-latest
strategy:
matrix:
ruby:
- head
- "3.3"
- "3.2"
- "3.1"
- "jruby-9.4.8.0"
os:
- ubuntu
- macos
steps:
- name: Set Up Gems
uses: actions/checkout@v2
- name: Install Geos (Linux)
if: matrix.os == 'ubuntu'
run: |
sudo apt-add-repository ppa:ubuntugis/ubuntugis-unstable
sudo apt-get install -yqq libgeos-dev
- name: Install Geos (Mac)
if: matrix.os == 'macos'
run: HOMEBREW_NO_INSTALL_CLEANUP=1 brew install geos
- name: Set Up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Test
run: bundle exec rake