Skip to content

chore: update coverage badge #538

chore: update coverage badge

chore: update coverage badge #538

Workflow file for this run

---
name: Build and test
on:
push:
branches:
- main
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
env:
HOMEBREW_NO_AUTO_UPDATE: 1
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: 1
jobs:
lint:
name: build
runs-on: macos-13
steps:
- name: Checkout Code
uses: actions/checkout@v3
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '15.0.1'
- name: Install SSH Key
uses: shimataro/ssh-key-action@v2.3.0
with:
key: ${{ secrets.SSH_PRIVATE_KEY }}
known_hosts: github.com
- name: Adding Known Hosts
run: ssh-keyscan -H github.com >> ~/.ssh/known_hosts
- name: Install lcov
run: brew install lcov
- name: Build and test
env:
GITHUB_ACTOR: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./build_test.sh
- name: Publish to coveralls
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: coverallsapp/github-action@v2
with:
file: "lcov.info"