Skip to content

Commit f19a334

Browse files
Update package tests to current distro versions (crystal-lang#271)
1 parent f2c1e13 commit f19a334

File tree

8 files changed

+24
-19
lines changed

8 files changed

+24
-19
lines changed

packages/support/test-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22

3-
set -euxo
3+
set -eu
44

55
DISTRO_TYPE=""
66
[[ -x "/usr/bin/apt-get" ]] && DISTRO_TYPE="deb"

packages/test-install-on-docker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ set -eu
44

55
docker_image="${1}"
66

7-
docker run -e OBS_PROJECT="${OBS_PROJECT:-}" -e CRYSTAL_VERSION="${CRYSTAL_VERSION:-}" --rm -it -v $(pwd)/scripts:/scripts -v $(pwd)/support:/support $docker_image /bin/sh -c "/support/test-install.sh ${@:2}"
7+
docker run --pull=always -e OBS_PROJECT="${OBS_PROJECT:-}" -e CRYSTAL_VERSION="${CRYSTAL_VERSION:-}" --rm -it -v $(pwd)/scripts:/scripts -v $(pwd)/support:/support $docker_image /bin/sh -c "/support/test-install.sh ${@:2}"

packages/test/centos.bats

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bats
22

3-
@test "CentOS 8" {
4-
./test-install-on-docker.sh centos:8
3+
@test "CentOS 8 Stream" {
4+
./test-install-on-docker.sh quay.io/centos/centos:stream8
55
}
66

77
@test "CentOS 7" {

packages/test/debian.bats

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#!/usr/bin/env bats
22

3+
@test "Debian 12" {
4+
./test-install-on-docker.sh debian:12
5+
}
6+
37
@test "Debian 11" {
48
./test-install-on-docker.sh debian:11
59
}
@@ -8,10 +12,6 @@
812
./test-install-on-docker.sh debian:10
913
}
1014

11-
@test "Debian 9" {
12-
./test-install-on-docker.sh debian:9
13-
}
14-
1515
@test "Debian Testing" {
1616
./test-install-on-docker.sh debian:testing
1717
}

packages/test/fedora.bats

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
./test-install-on-docker.sh fedora:rawhide
55
}
66

7+
@test "Fedora 39" {
8+
./test-install-on-docker.sh fedora:39
9+
}
10+
711
@test "Fedora 38" {
812
./test-install-on-docker.sh fedora:38
913
}
1014

1115
@test "Fedora 37" {
1216
./test-install-on-docker.sh fedora:37
1317
}
14-
15-
@test "Fedora 36" {
16-
./test-install-on-docker.sh fedora:36
17-
}

packages/test/mint.bats

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
#!/usr/bin/env bats
22

3+
@test "Linux Mint 21" {
4+
./test-install-on-docker.sh linuxmintd/mint21-amd64
5+
}
6+
37
@test "Linux Mint 20" {
48
./test-install-on-docker.sh linuxmintd/mint20-amd64
59
}
610

7-
@test "Linux Mint 19" {
8-
./test-install-on-docker.sh linuxmintd/mint19-amd64
9-
}

packages/test/opensuse.bats

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
./test-install-on-docker.sh opensuse/tumbleweed
55
}
66

7+
@test "openSUSE Leap 15.5" {
8+
./test-install-on-docker.sh opensuse/leap:15.5
9+
}
10+
711
@test "openSUSE Leap 15.4" {
812
./test-install-on-docker.sh opensuse/leap:15.4
913
}

packages/test/ubuntu.bats

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#!/usr/bin/env bats
22

3-
@test "Ubuntu 23.04" {
4-
./test-install-on-docker.sh ubuntu:23.04
3+
@test "Ubuntu 23.10" {
4+
./test-install-on-docker.sh ubuntu:23.10
55
}
66

7-
@test "Ubuntu 22.10" {
8-
./test-install-on-docker.sh ubuntu:22.10
7+
@test "Ubuntu 23.04" {
8+
./test-install-on-docker.sh ubuntu:23.04
99
}
1010

1111
@test "Ubuntu 22.04" {

0 commit comments

Comments
 (0)