Skip to content

things

things #7

Workflow file for this run

name: Unit Test
on:
pull_request:
paths:
- "**.swift"
- "**.m"
- "**.c"
- "**.cpp"
- "**.h"
- "**.hpp"
- "test.yml"
jobs:
swiftpm:
name: Test iOS (swiftpm)
runs-on: macos-latest
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v2
with:
submodules: recursive
- name: iOS - Swift PM
run: |
set -o pipefail && \
swift test --parallel | \
xcpretty -c --test --color \
--report junit \
--output build/reports/junit.xml \
--report html --output build/reports/html
- name: Upload Test Results
uses: actions/upload-artifact@v2
if: always()
with:
name: Test Results
path: build/reports
- name: Upload Coverage Results
uses: actions/upload-artifact@v2
if: always()
with:
name: Coverage Results
path: build/coverage
- name: Upload Logs
uses: actions/upload-artifact@v2
if: always()
with:
name: Logs
path: build/logs