Skip to content

Commit

Permalink
Run unit tests on Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
gpotter2 committed Apr 5, 2023
1 parent 144c527 commit 4d69acf
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 24 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
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
24 changes: 0 additions & 24 deletions .travis.yml

This file was deleted.

0 comments on commit 4d69acf

Please sign in to comment.