Skip to content

Commit b0d20d0

Browse files
committed
test: use debian archive repositories for legacy python containers
Configures pytest containers to use archive.debian.org for package installation with legacy Python versions that have outdated sources.
1 parent 022e1e6 commit b0d20d0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/basic.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,10 @@ jobs:
6464
- uses: actions/checkout@v3
6565
- name: Installing dependencies
6666
run: |
67+
echo 'deb http://archive.debian.org/debian stretch main' > /etc/apt/sources.list
68+
echo 'deb http://archive.debian.org/debian-security stretch/updates main' >> /etc/apt/sources.list
69+
apt-get update || true
6770
python -m pip install pytest mock
68-
apt-get update
6971
apt install -y voms-clients
7072
- name: Run pytest
7173
run: pytest

0 commit comments

Comments
 (0)