Skip to content

Fix code scan issues #477

Fix code scan issues

Fix code scan issues #477

Workflow file for this run

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'