FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
swifter/.github/workflows/macos-tests.yml at stable · httpswift/swifter · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
httpswift
/
swifter
Public
Notifications
You must be signed in to change notification settings
Fork
554
Star
4k
Code
Issues
109
Pull requests
12
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
swifter
/
.github
/
workflows
/
macos-tests.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
42 lines (40 loc) · 1.41 KB
Breadcrumbs
swifter
/
.github
/
workflows
/
macos-tests.yml
Copy path
File metadata and controls
42 lines (40 loc) · 1.41 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name
:
Test OS X Platform
on
:
pull_request
:
branches
:
-
stable
jobs
:
Test-OS-X-Platform
:
runs-on
:
macos-latest
env
:
TEST_REPORTS
:
/tmp/test-results
LANG
:
en_US.UTF-8
steps
:
-
uses
:
maxim-lobanov/setup-xcode@v1.1
with
:
xcode-version
:
12.0
-
uses
:
actions/checkout@v2
-
name
:
Create Test Result Directory
run
:
|
mkdir -p tmp/test-results/
-
name
:
Run Unit Test - macOS
run
:
|
cd Xcode
set -o pipefail && xcodebuild test -scheme SwifterMac -sdk macosx -destination "arch=x86_64" | xcpretty -c -r html --output $TEST_REPORTS/macOS.html
-
name
:
Run Unit Test - iOS
run
:
|
cd Xcode
set -o pipefail && xcodebuild test -scheme SwifteriOS -sdk iphonesimulator -destination "name=iPhone 8" | xcpretty -c -r html --output $TEST_REPORTS/iOS.html
-
name
:
Run Unit Test - tvOS
run
:
|
cd Xcode
set -o pipefail && xcodebuild test -scheme SwiftertvOS -sdk appletvsimulator -destination "name=Apple TV 4K (at 1080p)" | xcpretty -c -r html --output $TEST_REPORTS/tvOS.html
-
name
:
Run Unit Test - Swift Package Manager
run
:
|
cd Xcode
swift build && swift test
-
name
:
Archive Test results
uses
:
actions/upload-artifact@v1
with
:
name
:
test-results
path
:
tmp/test-results
Back
|
FazBrowse Home
|
New Git URL