Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
defaults did not work
Browse files Browse the repository at this point in the history
  • Loading branch information
iccub committed Oct 3, 2023
1 parent 33c9954 commit 9e38e39
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,35 @@ jobs:
run: |
set -o pipefail
fastlane ios test
test_latest_os:
if: ${{ github.event_name == 'pull_request' && github.event.action == 'labeled' && github.event.label.name == 'CI/latest_os' }}
name: Run tests
runs-on: macOS-13
env:
# The XCode version to use. If you want to update it please refer to this document:
# https://docs.github.com/en/actions/reference/specifications-for-github-hosted-runners#supported-software
# and set proper version.
XCODE_VERSION: "14.3.1"

steps:
- name: Select XCode
# Use XCODE_VERSION env variable to set the XCode version you want.
run: sudo xcode-select --switch /Applications/Xcode_${{ env.XCODE_VERSION }}.app
- name: Checkout
uses: actions/checkout@v3
- name: Update node
uses: actions/setup-node@v3
with:
node-version: '18.x'
- uses: actions/cache@v3
with:
path: ~/.npm
key: npm-${{ hashFiles('package-lock.json') }}
restore-keys: npm-
- name: Run bootstrap script
run: ./bootstrap.sh --ci
- name: Run tests
run: |
set -o pipefail
fastlane ios test use_latest_os:true

0 comments on commit 9e38e39

Please sign in to comment.