File tree Expand file tree Collapse file tree 1 file changed +62
-0
lines changed Expand file tree Collapse file tree 1 file changed +62
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ - push
5+ - pull_request
6+
7+ jobs :
8+ test :
9+ name : Test
10+ runs-on : ${{ matrix.os }}
11+
12+ strategy :
13+ fail-fast : false
14+ matrix :
15+ os :
16+ - ubuntu-20.04
17+ - ubuntu-latest
18+ ruby :
19+ - 3.0
20+ - 2.7
21+ - 2.6
22+ - 2.5
23+ - 2.4
24+ - 2.3
25+ - debug
26+
27+ steps :
28+ - uses : actions/checkout@v2
29+ with :
30+ fetch-depth : 1
31+
32+ - uses : ruby/setup-ruby@v1
33+ with :
34+ ruby-version : ${{ matrix.ruby }}
35+
36+ - name : Install requirements on ubuntu
37+ run : |
38+ sudo apt install -y --no-install-recommends \
39+ libczmq-dev \
40+ python3 \
41+ python3-pip \
42+ python3-setuptools
43+ sudo pip3 install wheel
44+ sudo pip3 install -r ci/requirements.txt
45+
46+ - run : gem install bundler
47+
48+ - run : bundle install --jobs 4 --retry 3
49+
50+ - name : Run tests
51+ env :
52+ PYTHON : python3
53+ ADAPTERS : cztop ffi-rzmq pyzmq
54+ run : |
55+ for adapter in $ADAPTERS; do
56+ export IRUBY_TEST_SESSION_ADAPTER_NAME=$adapter
57+ bundle exec rake test TESTOPTS=-v
58+ done
59+
60+ - run : rake build
61+
62+ - run : gem install pkg/*.gem
You can’t perform that action at this time.
0 commit comments