Skip to content

Commit 8879556

Browse files
committed
github workflows
1 parent 9f56b73 commit 8879556

3 files changed

Lines changed: 30 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v2
15+
16+
- name: Use ruby
17+
uses: ruby/setup-ruby@v1
18+
with:
19+
ruby-version: 2.6
20+
21+
- name: Install dependencies
22+
run: bundle install
23+
24+
- name: Run test
25+
run: bundle exec ruby simple_test_script.rb
26+
env:
27+
APPLITOOLS_API_KEY: ${{ secrets.APPLITOOLS_API_KEY }}

.github/workflows/updates.yml

Whitespace-only changes.

updateGemfile.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
VERSION=$(gem search -e eyes_images | grep eyes_images | grep -E -o "[0-9]+.[0-9]+.[0-9]+")
2+
echo "$VERSION"
3+
bundle remove eyes_images && bundle add eyes_images -v "$VERSION"

0 commit comments

Comments
 (0)