Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions .github/workflows/bsd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Scapy Unit Tests on *BSD

on:
pull_request:
#types: [ labeled ]
branches: [ master ]

jobs:
freebsd:
#if: ${{ github.event.label.name == 'ci/bsd' || github.event.label.name == 'ci/freebsd' }}
#if: contains(github.event.pull_request.labels.*.name, 'ci/bsd')
runs-on: macos-12
name: FreeBSD
steps:
- uses: actions/checkout@v2
- name: Run tox
id: tox
uses: vmactions/freebsd-vm@v0
with:
release: 13.1
copyback: false
prepare: |
pkg install --yes git python2 python3 py39-pip py27-sqlite3 py39-sqlite3 rust sudo

run: |
env
pip install tox
tox -e 'py27-bsd_non_root,py27-bsd_root,py39-bsd_non_root,py39-bsd_root' -- -qq

openbsd:
#if: ${{ github.event.label.name == 'ci/bsd' || github.event.label.name == 'ci/openbsd' }}
if: contains(github.event.pull_request.labels.*.name, 'ci/bsd')
runs-on: macos-12
name: OpenBSD
steps:
- uses: actions/checkout@v2
- name: Run tox
id: tox
uses: vmactions/openbsd-vm@v0
with:
release: 7.1
copyback: false
prepare: |
pkg_add git python-2.7.18p7 python-3.9.12 py3-pip-22.0.4 rust-1.59.0 py3-cryptography-36.0.1 sudo-1.9.10

run: |
env
ls
pip3 install tox
#tox -e 'py27-bsd_non_root,py27-bsd_root,py39-bsd_non_root,py39-bsd_root' -- -qq
tox -e 'py39-bsd_non_root,py39-bsd_root' -- -qq
15 changes: 7 additions & 8 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Scapy unit tests
name: Scapy Unit Tests

on:
push:
branches: [master]
pull_request:
# The branches below must be a subset of the branches above
branches: [master]
#on:
# push:
# branches: [master]
# pull_request:
# # The branches below must be a subset of the branches above
# branches: [master]

permissions:
contents: read
Expand Down Expand Up @@ -149,7 +149,6 @@ jobs:
- name: Run tests
run: tox -e cryptography

# CODE-QL
analyze:
name: CodeQL analysis
runs-on: ubuntu-latest
Expand Down