Update copyright dates #289
Workflow file for this run
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
# Coveralls code coverage test for arp-scan using github actions on Ubuntu runner. | |
name: coverage | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: install libpcap and lcov | |
run: | | |
sudo apt-get update -qq | |
sudo apt-get install -qq libpcap0.8-dev libcap-dev lcov | |
- name: autoreconf | |
run: autoreconf --install | |
- name: configure with gcov | |
run: ./configure --enable-gcov | |
- name: make | |
run: make | |
- name: make check | |
run: make check | |
- name: localnet-run | |
run: | | |
sudo make install | |
arp-scan -vv --localnet --limit=10 | |
- name: create lcov.info | |
run: lcov --directory . --capture --output-file lcov.info | |
- name: Coveralls | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
path-to-lcov: ./lcov.info |