File tree Expand file tree Collapse file tree 1 file changed +28
-5
lines changed Expand file tree Collapse file tree 1 file changed +28
-5
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,13 @@ name: Scapy Unit Tests on *BSD
2
2
3
3
on :
4
4
pull_request :
5
- types : [ labeled ]
5
+ # types: [ labeled ]
6
+ branches : [ master ]
6
7
7
8
jobs :
8
9
freebsd :
9
- if : ${{ github.event.label.name == 'ci/bsd' || github.event.label.name == 'ci/freebsd' }}
10
+ # if: ${{ github.event.label.name == 'ci/bsd' || github.event.label.name == 'ci/freebsd' }}
11
+ if : contains(github.event.pull_request.labels.*.name, 'ci/bsd')
10
12
runs-on : macos-12
11
13
name : FreeBSD
12
14
steps :
@@ -16,13 +18,34 @@ jobs:
16
18
uses : vmactions/freebsd-vm@v0
17
19
with :
18
20
release : 13.1
19
- with :
20
21
copyback : false
21
22
prepare : |
22
23
pkg install --yes git python2 python3 py39-pip py27-sqlite3 py39-sqlite3 rust sudo
23
24
24
25
run : |
25
26
env
26
- freebsd-version
27
27
pip install tox
28
- tox -e 'py27-bsd_non_root,py27-bsd_root,py39-bsd_non_root,py39-bsd_root' -- -qq
28
+ tox -e 'py27-bsd_non_root,py27-bsd_root,py39-bsd_non_root,py39-bsd_root' -- -qq
29
+
30
+ openbsd :
31
+ # if: ${{ github.event.label.name == 'ci/bsd' || github.event.label.name == 'ci/openbsd' }}
32
+ if : contains(github.event.pull_request.labels.*.name, 'ci/bsd')
33
+ runs-on : macos-12
34
+ name : OpenBSD
35
+ steps :
36
+ - uses : actions/checkout@v2
37
+ - name : Run tox
38
+ id : tox
39
+ uses : vmactions/openbsd-vm@v0
40
+ with :
41
+ release : 7.1
42
+ copyback : false
43
+ prepare : |
44
+ 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
45
+
46
+ run : |
47
+ env
48
+ ls
49
+ pip3 install tox
50
+ #tox -e 'py27-bsd_non_root,py27-bsd_root,py39-bsd_non_root,py39-bsd_root' -- -qq
51
+ tox -e 'py39-bsd_non_root,py39-bsd_root' -- -qq
You can’t perform that action at this time.
0 commit comments