Repository navigation
Expand file tree
/
Copy pathenvironment-compatibility-tests.yml
More file actions
90 lines (87 loc) · 2.95 KB
/
Copy pathenvironment-compatibility-tests.yml
File metadata and controls
90 lines (87 loc) · 2.95 KB
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
name: Environment Compatibility Tests
on:
pull_request:
paths:
- rustfs-table-test.sh
- rustfs-replication-test.sh
- rustfs-security-test.sh
- rustfs-upgrade-test.sh
- rustfs_performance_test.sh
- rustfs_performance_testing.sh
- scripts/performance_s3.py
- scripts/performance_delete_probe.py
- test_performance_s3.py
- scripts/check_execution_environment.py
- scripts/local_rustfs.py
- scripts/musl_cpu_affinity.py
- scripts/check_shell_syntax.py
- scripts/prepare_table_smoke.py
- test_check_shell_syntax.py
- .github/workflows/rustfs-table-test.yml
- scripts/lib/**
- test_check_execution_environment.py
- test_musl_cpu_affinity.py
- test_rustfs_table.py
- test_rustfs_performance_testing.py
- test_rustfs_replication.py
- .github/workflows/environment-compatibility-tests.yml
push:
branches: [main]
paths:
- rustfs-table-test.sh
- rustfs-replication-test.sh
- rustfs-security-test.sh
- rustfs-upgrade-test.sh
- rustfs_performance_test.sh
- rustfs_performance_testing.sh
- scripts/performance_s3.py
- scripts/performance_delete_probe.py
- test_performance_s3.py
- scripts/check_execution_environment.py
- scripts/local_rustfs.py
- scripts/musl_cpu_affinity.py
- scripts/check_shell_syntax.py
- scripts/prepare_table_smoke.py
- test_check_shell_syntax.py
- .github/workflows/rustfs-table-test.yml
- scripts/lib/**
- test_check_execution_environment.py
- test_musl_cpu_affinity.py
- test_rustfs_table.py
- test_rustfs_performance_testing.py
- test_rustfs_replication.py
- .github/workflows/environment-compatibility-tests.yml
permissions:
contents: read
jobs:
environment-compatibility:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@f548e57e544e1ff5a4c46bf1e1b8685f8e4a348a
with:
persist-credentials: false
- name: Validate shell syntax
run: |
python3 -B scripts/check_shell_syntax.py --report "${RUNNER_TEMP}/shell-syntax.json"
test -x rustfs-security-test.sh
test -x rustfs-upgrade-test.sh
- name: Install S3 test client
run: python3 -m pip install 'boto3>=1.35,<2'
- name: Test portable execution helpers
run: >-
python3 -B -m unittest -v
test_check_execution_environment.py
test_check_shell_syntax.py
test_musl_cpu_affinity.py
test_rustfs_table.py
test_rustfs_performance_testing.py
test_performance_s3.py
test_rustfs_replication.py
- name: Test missing HOME
run: env -u HOME bash test_rustfs_pool_expand.sh
- name: Smoke-test environment preflight
run: >-
python3 scripts/check_execution_environment.py
--command bash
--minimum-bash-major 4