-
Notifications
You must be signed in to change notification settings - Fork 0
55 lines (42 loc) · 1.23 KB
/
Copy pathtesting.yml
File metadata and controls
55 lines (42 loc) · 1.23 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
name: testing
on:
push:
branches: main
pull_request:
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
permissions: read-all
jobs:
docker-build:
runs-on: ubuntu-26.04
strategy:
matrix:
version: [17, 18]
steps:
- uses: actions/checkout@v7
- name: Docker version info
run: |
docker --version
docker compose --version
- name: Build kiwitcms/postgres:${{ matrix.version }}
working-directory: ${{ matrix.version }}
run: |
docker build --sbom=true --provenance=mode=max -t kiwitcms/postgres:${{ matrix.version }} .
docker images
end-to-end:
runs-on: ubuntu-26.04
steps:
- uses: actions/checkout@v7
- name: Install packages used during container testing
run: |
# used in test scripts
sudo apt-get install git make sscg
# install beakerlib from source it doesn't ship DEB packages
if [ ! -f "/usr/share/beakerlib/beakerlib.sh" ]; then
git clone https://github.com/beakerlib/beakerlib.git
sudo make -C beakerlib/ install
fi
- name: Run tests
run: |
./testing/runner.sh