-
Notifications
You must be signed in to change notification settings - Fork 5
42 lines (35 loc) · 1.19 KB
/
ci.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
name: CI
on:
workflow_dispatch:
pull_request:
branches: [main]
jobs:
test:
name: Run Tests
runs-on: self-hosted-novum-mac
steps:
- name: Checkout
uses: actions/[email protected]
- name: Build and Test
run: make test
- name: Extract Sceenshot diff from failed Tests
if: always()
run: make extract_tests_attachments
- name: Checkout Telefonica/github-actions repo
uses: actions/[email protected]
if: always()
with:
repository: Telefonica/github-actions
token: "${{ secrets.NOVUM_PRIVATE_REPOS }}"
path: .github/actions
- name: Check Tests result
uses: ./.github/actions/mistica/upload-failed-screenshots
if: always()
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
azure-account-name: ${{ secrets.AZURE_ACCOUNT_NAME }}
azure-account-key: ${{ secrets.AZURE_ACCOUNT_KEY }}
glob: 'tmp/test_output/diff_output/**/difference*.png'
test-suite-and-test-name-regex: '(?<=diff_output\/)(.*)(?=\/difference)'
test-suite-and-test-name-separator: '/'
ci-container-name: 'mistica-ios-ci-container'