IOS-10753 Fix background #1016
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: [main] | |
workflow_call: | |
inputs: | |
# The branch, tag or SHA to checkout | |
ref: | |
required: false | |
type: string | |
jobs: | |
test: | |
name: Run Tests | |
runs-on: self-hosted-novum-mac | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ inputs.ref || '' }} | |
- name: Build and Test | |
run: make test | |
- name: Extract Screenshot diff from failed Tests | |
if: always() | |
run: make extract_tests_attachments | |
- name: Checkout Telefonica/github-actions repo | |
uses: actions/checkout@v4 | |
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' |