File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " Test"
2+
3+ on :
4+ push :
5+ branches : [ "develop" ]
6+ pull_request :
7+ branches : [ "develop" ]
8+
9+ permissions :
10+ contents : read
11+
12+ jobs :
13+ build :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : actions/checkout@v4
17+ - name : Set up Python 3.10
18+ uses : actions/setup-python@v3
19+ with :
20+ python-version : " 3.10"
21+ - name : Install dependencies
22+ run : |
23+ sudo apt-get install python3-maxminddb python3-yaml wget
24+ python -m pip install --upgrade pip
25+ pip install .
26+ - name : Test
27+ run : |
28+ cd tests
29+ rm ipv4-address-space.csv ipv6-unicast-address-assignments.csv
30+ wget https://www.iana.org/assignments/ipv4-address-space/ipv4-address-space.csv
31+ wget https://www.iana.org/assignments/ipv6-unicast-address-assignments/ipv6-unicast-address-assignments.csv
32+ ./test.sh
You can’t perform that action at this time.
0 commit comments