-
Notifications
You must be signed in to change notification settings - Fork 15
28 lines (28 loc) · 1.11 KB
/
coverall.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: Generate LCOV and send to coveralls
on: [push]
jobs:
coverage-report-launch:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Install Rust (Stable)
run:
curl https://sh.rustup.rs -sSf | sh -s -- -y
- name: Create config folder
run: sudo mkdir -p /etc/fim/ && sudo chown -R runner:runner /etc/fim
- name: Create events file and folder
run: sudo mkdir -p /var/lib/fim/ && sudo touch /var/lib/fim/events.json && sudo chown -R runner:runner /var/lib/fim
- name: Create log file and folder
run: sudo mkdir -p /var/log/fim/ && sudo touch /var/log/fim/fim.log && sudo chown -R runner:runner /var/log/fim
- name: Run cargo-tarpaulin
uses: actions-rs/[email protected]
with:
version: 0.22.0
args: '--all-features --out Lcov --exclude-files src/main.rs src/monitor.rs src/init.rs'
- name: upload to Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: './lcov.info'