Skip to content

Bump actions/upload-artifact from 3 to 4 #228

Bump actions/upload-artifact from 3 to 4

Bump actions/upload-artifact from 3 to 4 #228

Workflow file for this run

name: Run tests
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
jobs:
unit_tests:
name: Unit Tests
runs-on: macos-12
strategy:
matrix:
platform:
- iOS
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Xcode version
uses: maxim-lobanov/setup-xcode@v1.6.0
with:
xcode-version: '14'
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Run UnitTests
run: bundle exec fastlane test
- name: Archive test artifacts
uses: actions/upload-artifact@v4
if: failure()
with:
name: test-artifacts
path: |
./fastlane/test_output/*.xcresult