8000 Adds GitHub Actions for unlimited CI and faster feedback · libvips/ruby-vips@64ab68c · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 64ab68c

Browse files
committed
Adds GitHub Actions for unlimited CI and faster feedback
1 parent 5540b59 commit 64ab68c

File tree

4 files changed

+73
-2
lines changed

4 files changed

+73
-2
lines changed

.github/workflows/test.yml

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
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

.rspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
--order rand

.yardopts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
--markup-provider=redcarpet
21
--markup=markdown

Gemfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,3 @@ source 'https://rubygems.org'
44
gemspec
55

66
gem 'github-markup'
7-
gem 'redcarpet', platforms: :ruby

0 commit comments

Comments
 (0)
0