Skip to content

doc: readme.md: update badges #40

doc: readme.md: update badges

doc: readme.md: update badges #40

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
jobs:
ios-demo-build:
runs-on: macos-26
defaults:
run:
working-directory: Demo/SmartAsyncImageDemo
steps:
- name: Checkout
uses: actions/checkout@v4
# ---- Bazel (run from repo root, so override working-directory per-step) ----
- name: Setup Bazelisk
uses: bazelbuild/setup-bazelisk@v3
- name: Cache Bazel
uses: actions/cache@v4
with:
path: |
~/.cache/bazel
~/.cache/bazelisk
key: ${{ runner.os }}-bazel-${{ hashFiles('.bazelversion', 'MODULE.bazel', 'MODULE.bazel.lock', '**/*.bzl', '**/BUILD.bazel', '.bazelrc') }}
restore-keys: |
${{ runner.os }}-bazel-
- name: Bazel build (Demo)
working-directory: ${{ github.workspace }}
run: bazel build //Demo/SmartAsyncImageDemo:SmartAsyncImageDemo
# ---- Your existing Fastlane + Codecov pipeline ----
- name: Set up Ruby (Bundler)
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.3"
bundler-cache: true
working-directory: Demo/SmartAsyncImageDemo
- name: Install xcresultparser
run: brew install xcresultparser
- name: Build (Demo)
run: bundle exec fastlane ios build
- name: Run Package Tests
run: bundle exec fastlane ios package_tests
- name: Convert coverage
run: bundle exec fastlane coverage_xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ${{ github.workspace }}/coverage.xml
root_dir: ${{ github.workspace }}
verbose: true