Skip to content

Commit 8f29d12

Browse files
committed
more
1 parent 5063aee commit 8f29d12

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

.github/workflows/test-package-installation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Test Package Installation
1+
name: Test Latest Citus Package Installation on Supported PostgreSQL Versions
22

33
on:
44
push:
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Package Installation Tests
2+
3+
Verifies that Citus packages can be installed from the package repository on all supported platforms.
4+
5+
Each test spins up a Docker container for the target OS, installs the PostgreSQL and Citus packages,
6+
sets up a cluster, and runs very basic tests.
7+
8+
## Running locally
9+
10+
Requires **Python 3.10+** and **Docker**. No additional Python packages needed.
11+
12+
```bash
13+
python3 test_package_installation/run_test.py <platform> <pg_major_version> <citus_major_minor_version>
14+
```
15+
16+
Examples:
17+
18+
```bash
19+
python3 test_package_installation/run_test.py ubuntu/noble 18 14.0
20+
python3 test_package_installation/run_test.py el/9 17 14.0
21+
python3 test_package_installation/run_test.py debian/bookworm 16 14.0
22+
```
23+
24+
## Running via GitHub Actions
25+
26+
You can manually trigger the workflow using [this GitHub Actions tab](https://github.com/citusdata/packaging/actions/workflows/test-package-installation.yml).
27+
28+
It automatically discovers the supported platforms, latest Citus version that we published
29+
packages for, and compatible PostgreSQL versions from the `all-citus` branch, using
30+
[.github/workflows/build-package.yml](https://github.com/citusdata/packaging/blob/all-citus/.github/workflows/build-package.yml) and [postgres-matrix.yml](https://github.com/citusdata/packaging/blob/all-citus/postgres-matrix.yml) files.

0 commit comments

Comments
 (0)