-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move libpcap tests to Github Actions #3143
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3143 +/- ##
==========================================
- Coverage 85.25% 85.25% -0.01%
==========================================
Files 261 261
Lines 54349 54349
==========================================
- Hits 46336 46334 -2
- Misses 8013 8015 +2
|
.config/ci/install.sh
Outdated
|
||
# Detect install mode | ||
if [[ "${1}" == "libpcap" ]]; then | ||
export SCAPY_USE_LIBPCAP="yes" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that this does not work. The variable will be removed when install.sh
stops.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're right, the export
is useless. We still need to set it for further below in the script though.
runs-on: ${{ matrix.os }} | ||
timeout-minutes: 25 | ||
timeout-minutes: 20 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are you decreasing this value?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I increased it very recently as a workaround for GLMAN tests failing, but it shouldn't be required anymore. You can have a look at the timeouts of this build: we're well under that limit.
* Enable libpcap tests on GHCI * Remove libpcap tests from travis * Reduce GHCI timeout accordingly * Fix libpcap tests * Fix libpcap packet timeout * Remove useless export
* Enable libpcap tests on GHCI * Remove libpcap tests from travis * Reduce GHCI timeout accordingly * Fix libpcap tests * Fix libpcap packet timeout * Remove useless export
attach_filter
functions.. root only + pypy tests already are super long due to the build-on-install)It appears that 880d048 has broken libpcap on Linux. This fixes it