Skip to content

Commit f4571ff

Browse files
committed
ci: install python-netaddr via yum instead of pip
1 parent 33d4fd2 commit f4571ff

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,11 @@ jobs:
2020
sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*.repo
2121
2222
- name: Install git and dependencies
23-
run: yum -y install git python2 python2-pip python-six
23+
run: yum -y install git python2 python-six python-netaddr
2424

2525
- name: Clone repository
2626
run: git clone --depth 1 --branch ${{ github.ref_name }} https://github.com/${{ github.repository }}.git .
2727

28-
- name: Install Python dependencies
29-
run: python2 -m pip install netaddr
30-
3128
- name: Verify Python 2.7 imports
3229
run: |
3330
echo '__version__ = "0.0.0"' > fds/__about__.py

0 commit comments

Comments
 (0)