Skip to content

Merge pull request #20 from lexara-prime-ai/dev #17

Merge pull request #20 from lexara-prime-ai/dev

Merge pull request #20 from lexara-prime-ai/dev #17

Workflow file for this run

- name: Code Coverage

Check failure on line 2 in .github/workflows/code-coverage.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/code-coverage.yml

Invalid workflow file

You have an error in your yaml syntax on line 2
'on':
push:
branches: [ "master" ]
tags: '*'
- name: Install toolchain
id: toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: x86_64-unknown-linux-musl
override: true
components: llvm-tools-preview
- name: Download grcov
run: |
mkdir -p "${HOME}/.local/bin"
curl -sL https://github.com/mozilla/grcov/releases/download/v0.8.10/grcov-x86_64-unknown-linux-gnu.tar.bz2 | tar jxf - -C "${HOME}/.local/bin"
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Run xtask coverage
uses: actions-rs/cargo@v1
with:
command: xtask
args: coverage
- name: Upload to codecov.io
uses: codecov/codecov-action@v3
with:
files: coverage/*.lcov