-
Notifications
You must be signed in to change notification settings - Fork 4
73 lines (65 loc) · 2.13 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
name: Tests
on:
pull_request:
jobs:
test_supported_versions:
name: Test on ${{matrix.container }} with ${{ matrix.version }}
runs-on: ubuntu-latest
container: ${{ matrix.container }}
strategy:
fail-fast: false
matrix:
version:
- 5.4.0
- 6.0.0
- 2022.1.0
- 2022.2.0
- 2023.1.0
- 2024.1.0
include:
- version: 2022.1.0
product: --scylla-product scylla-enterprise
- version: 2022.2.0
product: --scylla-product scylla-enterprise
- version: 2023.1.0
product: --scylla-product scylla-enterprise
- version: 2024.1.0
product: --scylla-product scylla-enterprise
container:
- ubuntu:20.04
- ubuntu:22.04
- debian:11
- rockylinux:8
- rockylinux:9
- oraclelinux:8
- amazonlinux:2023
steps:
- if: contains(matrix.container, 'ubuntu') || contains(matrix.container, 'debian')
name: Install packages Ubuntu / Debian
run: |
apt-get update
- if: contains(matrix.container, 'centos') || contains(matrix.container, 'amazon') || contains(matrix.container, 'oracle') || contains(matrix.container, 'rockylinux')
name: Install packages For Centos / Amazonlinux / Rockylinux / Oracle
run: |
yum update -y && yum install -y tar gzip
- uses: actions/checkout@v2
- name: Install Scylla first release
run: ./server --scylla-version ${{ matrix.version }} ${{ matrix.product }}
test_latest_in_version:
name: Test installation for latest in specific version
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: sudo ./server --scylla-version 6.0
test_nightly_master:
name: Test installation for nightly-master version
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: sudo ./server --scylla-version nightly-master
test_latest:
name: Test installation for latest version
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: sudo ./server