forked from KingIsulgard/iOS-Polynomial-Regression
-
Notifications
You must be signed in to change notification settings - Fork 3
46 lines (43 loc) · 1.16 KB
/
continuousIntegration_actions.yml
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
43
44
45
name: Continuous Run
on:
schedule:
- cron: '20 2 * * *'
push:
branches:
- master
- develop
- feature/*
jobs:
test:
name: Complete Test Suite
runs-on: self-hosted
steps:
- name: Set Required PATH Variable
run: |
echo "/usr/local/bin:$PATH" >> $GITHUB_PATH
- name: Checkout Repo
uses: actions/checkout@v2
- name: Build And Test PolynomialRegression Test Suite
run: .github/workflows/RunCompleteUnitTestSuite.sh
env:
destination: "platform=macOS,arch=arm64"
LC_CTYPE: en_US.UTF-8
- name: Publish Test Report
uses: mikepenz/action-junit-report@v2
with:
report_paths: '**/build/reports/junit.xml'
github_token: ${{ secrets.GITHUB_TOKEN }}
fail_on_failure: true
require_tests: true
- name: Create Code Coverage Report
run: |
./.github/workflows/xcov/ExportCodeCoverage.sh
env:
LC_CTYPE: en_US.UTF-8
- name: Publish Code Coverage Report
if: '!cancelled()'
uses: actions/upload-artifact@v4
with:
name: CodeCoverage
path: '**/build/xcov_output/*'
retention-days: 89