extract #50
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: masscan unit tests | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
# The branches below must be a subset of the branches above | |
branches: [master] | |
permissions: | |
contents: read | |
jobs: | |
regress: | |
name: Run regression tests | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
steps: | |
- name: Checkout masscan | |
uses: actions/checkout@v3 | |
- name: Install libpcap-dev | |
if: ${{ vars.RUNNER_OS == 'Linux' }} | |
run: sudo apt-get install -y libpcap-dev | |
- name: Run regression tests | |
run: make test |