Skip to content

Commit 53c7293

Browse files
committed
Migrate from Travis CI to GitHub Actions
1 parent 77280fe commit 53c7293

3 files changed

Lines changed: 44 additions & 22 deletions

File tree

.github/workflows/ci.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
test:
11+
runs-on: macos-15
12+
strategy:
13+
matrix:
14+
include:
15+
- xcode: "26.2"
16+
destination: "platform=iOS Simulator,name=iPhone 17,OS=26.2"
17+
- xcode: "16.2"
18+
destination: "platform=iOS Simulator,name=iPhone 16,OS=18.2"
19+
- xcode: "16.2"
20+
destination: "platform=iOS Simulator,name=iPhone 15,OS=17.5"
21+
22+
steps:
23+
- uses: actions/checkout@v4
24+
25+
- name: Select Xcode
26+
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
27+
28+
- name: Install Tuist
29+
run: |
30+
brew tap tuist/tuist
31+
brew install --formula tuist
32+
33+
- name: Generate Project
34+
run: tuist generate --no-open
35+
36+
- name: Run Tests
37+
run: |
38+
xcodebuild test \
39+
-scheme "Tests" \
40+
-destination "${{ matrix.destination }}" \
41+
-configuration Debug \
42+
CODE_SIGN_IDENTITY="" \
43+
CODE_SIGNING_REQUIRED=NO

.travis.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
UITextView+Placeholder
22
======================
33

4-
[![Build Status](https://travis-ci.org/devxoul/UITextView-Placeholder.svg?branch=master)](https://travis-ci.org/devxoul/UITextView-Placeholder)
4+
[![CI](https://github.com/devxoul/UITextView-Placeholder/actions/workflows/ci.yml/badge.svg)](https://github.com/devxoul/UITextView-Placeholder/actions/workflows/ci.yml)
55
[![CocoaPods](http://img.shields.io/cocoapods/v/UITextView+Placeholder.svg?style=flat)](http://cocoapods.org/?q=name%3AUITextView%2BPlaceholder)
66

77
A missing placeholder for UITextView.

0 commit comments

Comments
 (0)