Skip to content

Commit 3327419

Browse files
authored
Use GitHub Actions to run test (#4)
* ⚡ WIP * 🌲 Update * 🌲 Update * 🌲 Update * 🌲 Update
1 parent fdc39bb commit 3327419

File tree

3 files changed

+151
-1
lines changed

3 files changed

+151
-1
lines changed

.github/workflows/tests.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Tests
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: macos-latest
8+
steps:
9+
- name: Cache multiple paths
10+
uses: actions/cache@v2
11+
with:
12+
path: |
13+
cocoapods
14+
bundler
15+
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
16+
- uses: maxim-lobanov/[email protected]
17+
with:
18+
xcode-version: '12.2'
19+
- uses: actions/checkout@v1
20+
- name: Set up Ruby 2.6
21+
uses: actions/setup-ruby@v1
22+
with:
23+
ruby-version: 2.6.x
24+
- name: Test
25+
run: |
26+
gem install bundler
27+
bundle install --path=${BUNDLE_PATH:-vendor/bundle}
28+
bundle exec pod setup
29+
rake install
30+
cd test
31+
sh test.sh
32+
cd ..

Gemfile.lock

Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
PATH
2+
remote: .
3+
specs:
4+
cocoapods-binary (0.4.4)
5+
cocoapods (>= 1.5.0, < 2.0)
6+
fourflusher (~> 2.0)
7+
xcpretty (~> 0.3.0)
8+
9+
GEM
10+
remote: https://rubygems.org/
11+
specs:
12+
CFPropertyList (3.0.3)
13+
activesupport (5.2.4.4)
14+
concurrent-ruby (~> 1.0, >= 1.0.2)
15+
i18n (>= 0.7, < 2)
16+
minitest (~> 5.1)
17+
tzinfo (~> 1.1)
18+
addressable (2.7.0)
19+
public_suffix (>= 2.0.2, < 5.0)
20+
algoliasearch (1.27.5)
21+
httpclient (~> 2.8, >= 2.8.3)
22+
json (>= 1.5.1)
23+
atomos (0.1.3)
24+
bacon (1.2.0)
25+
claide (1.0.3)
26+
cocoapods (1.10.0)
27+
addressable (~> 2.6)
28+
claide (>= 1.0.2, < 2.0)
29+
cocoapods-core (= 1.10.0)
30+
cocoapods-deintegrate (>= 1.0.3, < 2.0)
31+
cocoapods-downloader (>= 1.4.0, < 2.0)
32+
cocoapods-plugins (>= 1.0.0, < 2.0)
33+
cocoapods-search (>= 1.0.0, < 2.0)
34+
cocoapods-trunk (>= 1.4.0, < 2.0)
35+
cocoapods-try (>= 1.1.0, < 2.0)
36+
colored2 (~> 3.1)
37+
escape (~> 0.0.4)
38+
fourflusher (>= 2.3.0, < 3.0)
39+
gh_inspector (~> 1.0)
40+
molinillo (~> 0.6.6)
41+
nap (~> 1.0)
42+
ruby-macho (~> 1.4)
43+
xcodeproj (>= 1.19.0, < 2.0)
44+
cocoapods-core (1.10.0)
45+
activesupport (> 5.0, < 6)
46+
addressable (~> 2.6)
47+
algoliasearch (~> 1.0)
48+
concurrent-ruby (~> 1.1)
49+
fuzzy_match (~> 2.0.4)
50+
nap (~> 1.0)
51+
netrc (~> 0.11)
52+
public_suffix
53+
typhoeus (~> 1.0)
54+
cocoapods-deintegrate (1.0.4)
55+
cocoapods-downloader (1.4.0)
56+
cocoapods-plugins (1.0.0)
57+
nap
58+
cocoapods-search (1.0.0)
59+
cocoapods-trunk (1.5.0)
60+
nap (>= 0.8, < 2.0)
61+
netrc (~> 0.11)
62+
cocoapods-try (1.2.0)
63+
colored2 (3.1.2)
64+
concurrent-ruby (1.1.7)
65+
escape (0.0.4)
66+
ethon (0.12.0)
67+
ffi (>= 1.3.0)
68+
ffi (1.13.1)
69+
fourflusher (2.3.1)
70+
fuzzy_match (2.0.4)
71+
gh_inspector (1.1.3)
72+
httpclient (2.8.3)
73+
i18n (1.8.5)
74+
concurrent-ruby (~> 1.0)
75+
json (2.3.1)
76+
minitest (5.14.2)
77+
mocha (1.11.2)
78+
mocha-on-bacon (0.2.3)
79+
mocha (>= 0.13.0)
80+
molinillo (0.6.6)
81+
nanaimo (0.3.0)
82+
nap (1.1.0)
83+
netrc (0.11.0)
84+
prettybacon (0.0.2)
85+
bacon (~> 1.2)
86+
public_suffix (4.0.6)
87+
rake (13.0.1)
88+
rouge (2.0.7)
89+
ruby-macho (1.4.0)
90+
thread_safe (0.3.6)
91+
typhoeus (1.4.0)
92+
ethon (>= 0.9.0)
93+
tzinfo (1.2.8)
94+
thread_safe (~> 0.1)
95+
xcodeproj (1.19.0)
96+
CFPropertyList (>= 2.3.3, < 4.0)
97+
atomos (~> 0.1.3)
98+
claide (>= 1.0.2, < 2.0)
99+
colored2 (~> 3.1)
100+
nanaimo (~> 0.3.0)
101+
xcpretty (0.3.0)
102+
rouge (~> 2.0.7)
103+
104+
PLATFORMS
105+
ruby
106+
107+
DEPENDENCIES
108+
bacon
109+
bundler (> 1.3)
110+
cocoapods
111+
cocoapods-binary!
112+
mocha
113+
mocha-on-bacon
114+
prettybacon
115+
rake
116+
117+
BUNDLED WITH
118+
2.1.4

test/Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
# frozen_string_literal: true
33
source "https://rubygems.org"
44

5-
gem 'cocoapods', '1.6.1'
5+
gem 'cocoapods', '1.10.0'
66
gem 'cocoapods-binary', :path => "../"
77

0 commit comments

Comments
 (0)