File tree Expand file tree Collapse file tree 1 file changed +72
-0
lines changed Expand file tree Collapse file tree 1 file changed +72
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Test
2
+
3
+ on :
4
+ push :
5
+ branches : [ $default-branch ]
6
+ pull_request :
7
+
8
+ env :
9
+ NOKOGIRI_USE_SYSTEM_LIBRARIES : true
10
+ SPEC_OPTS : ' --backtrace'
11
+
12
+ jobs :
13
+ test :
14
+ name : Functional Testing
15
+ runs-on : ubuntu-20.04 # In order to install libvips 8.9+ version
16
+
17
+ strategy :
18
+ matrix :
19
+ ruby-version :
20
+ - 2.1
21
+ - 2.2
22
+ - 2.3
23
+ - 2.4
24
+ - 2.5
25
+ - 2.6
26
+ - 2.7
27
+ - jruby
28
+
29
+ steps :
30
+ - name : Checkout code
31
+ uses : actions/checkout@v2
32
+
33
+ - name : Set up Ruby
34
+ uses : ruby/setup-ruby@v1
35
+ with :
36
+ ruby-version : ${{ matrix.ruby-version }}
37
+ bundler-cache : true
38
+
39
+ - name : Updates apt
40
+ env :
41
+ DEBIAN_FRONTEND : noninteractive
42
+ run : sudo apt-get update -qq -o Acquire::Retries=3
43
+
44
+ - name : Install libvips
45
+ env :
46
+ DEBIAN_FRONTEND : noninteractive
47
+ run :
48
+ sudo apt install --fix-missing -qq --no-install-recommends -o Acquire::Retries=3
49
+ libvips libvips-dev libvips-tools
50
+ gettext
51
+ libcfitsio-dev
52
+ libexpat1-dev
53
+ libfftw3-dev
54
+ libgif-dev
55
+ libglib2.0-dev
56
+ libgsf-1-dev
57
+ libjpeg-turbo8-dev
58
+ liblcms2-dev
59
+ libmagickwand-dev
60
+ libmatio-dev
61
+ libopenexr-dev
62
+ libopenslide-dev
63
+ liborc-0.4-dev
64
+ libpango1.0-dev
65
+ libpoppler-glib-dev
66
+ libtiff5-dev
67
+ libwebp-dev
68
+ librsvg2-dev
69
+ libmagick++-dev
70
+
71
+ - name : Run Tests
72
+ run : bundle exec rake spec
You can’t perform that action at this time.
0 commit comments