3.5.2 #78
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
name: CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
platform: | |
- os: macos-latest | |
fail-fast: false | |
runs-on: ${{ matrix.platform.os }} | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: install deps | |
run: | | |
brew install tree || true | |
brew install kcov || true | |
sudo apt-get install -y kcov || true | |
sudo apt-get install -y tree || true | |
- name: Run Tests | |
run: COV=1 bash test/run.sh | |
- name: Deploy coverage report | |
if: ${{ matrix.platform.os }} == 'macos-latest' | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./coverage-all | |
user_name: 'nave-kcov-actions-bot' | |
user_email: 'nave-kcov-actions-bot@example.com' |