Skip to content

Commit 56c32b3

Browse files
committed
Fix run-tests-with-beam when OTP <= 23
Pre-OTP 24 containers are built with Debian Buster. Use archive.debian.org mirror. Signed-off-by: Davide Bettio <davide@uninstall.it>
1 parent f548005 commit 56c32b3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/run-tests-with-beam.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,17 @@ jobs:
4343
- os: "ubuntu-24.04"
4444
test_erlang_opts: "-s prime_smp"
4545
container: erlang:21
46+
archive: "true"
4647

4748
- os: "ubuntu-24.04"
4849
test_erlang_opts: "-s prime_smp"
4950
container: erlang:22
51+
archive: "true"
5052

5153
- os: "ubuntu-24.04"
5254
test_erlang_opts: "-s prime_smp"
5355
container: erlang:23
56+
archive: "true"
5457

5558
- os: "ubuntu-24.04"
5659
test_erlang_opts: "-s prime_smp"
@@ -89,6 +92,11 @@ jobs:
8992
with:
9093
submodules: 'recursive'
9194

95+
- name: "Switch to archive.debian.org"
96+
if: matrix.archive == 'true'
97+
run: |
98+
sed -i 's|deb\.debian\.org|archive.debian.org/debian-archive|g' /etc/apt/sources.list
99+
92100
- name: "Install deps (container)"
93101
if: runner.os == 'Linux'
94102
run: |

0 commit comments

Comments
 (0)