hoangatuan is checking for leaks π #36
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
# How to setup danger with github actions: https://www.jessesquires.com/blog/2020/04/10/running-danger-on-github-actions/ | |
name: Check leaks | |
run-name: ${{ github.actor }} is checking for leaks π | |
on: [pull_request] | |
jobs: | |
Explore-Github-Actions: | |
runs-on: self-hosted | |
steps: | |
- run: echo "π The job was automatically triggered by a ${{ github.event_name }} event." | |
- run: echo "π§ This job is now running on a ${{ runner.os }} server hosted by GitHub!" | |
- run: echo "π The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- uses: maxim-lobanov/setup-xcode@v1.6.0 | |
with: | |
xcode-version: 14.2.0 | |
- name: ruby versions | |
run: | | |
ruby --version | |
gem --version | |
bundler --version | |
# - name: ruby setup | |
# uses: ruby/setup-ruby@v1 | |
# with: | |
# ruby-version: 2.7 | |
# bundler-cache: true | |
- run: xcodebuild -project MemoryLeaksCheck.xcodeproj -scheme MemoryLeaksCheck -destination 'platform=iOS Simulator,name=iPhone 14 Pro' CONFIGURATION_BUILD_DIR=$PWD/build | |
- name: Run UI tests | |
run: maestro test ./maestro/leaksCheckFlow.yaml | |
- name: Check for leaks | |
env: | |
DANGER_GITHUB_API_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN }} | |
run: ./LeaksDetector/leaksdetector MemoryLeaksCheck | |
# - name: danger | |
# env: | |
# DANGER_GITHUB_API_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN }} | |
# run: bundle exec danger --dangerfile=Dangerfile.leaksReport --danger_id=LeaksReport | |
- run: echo "π This job's status is ${{ job.status }}." |