Skip to content

Commit 6425d02

Browse files
committed
Merge pull request #1754 from bettio/fix-old-run-tests-with-beam
Fix run-tests-with-beam when OTP <= 23 These changes are made under both the "Apache 2.0" and the "GNU Lesser General Public License 2.1 or later" license terms (dual license). SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
2 parents f548005 + 56c32b3 commit 6425d02

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)