Skip to content

Commit 8c53dc0

Browse files
phlogistonjohnmergify[bot]
authored andcommitted
workflows: add test runs for centos stream9 and fedora 37
A recent previous change added building RPMs to the container's default set of actions. Add new test runs to exercise all this on various base distros. Signed-off-by: John Mulligan <[email protected]>
1 parent 3c61a4c commit 8c53dc0

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,26 @@ jobs:
2020
run: docker build -t sambacc:ci tests/container/ -f tests/container/Containerfile
2121
- name: Run test container
2222
run: docker run -v $PWD:/var/tmp/build/sambacc sambacc:ci
23+
test-centos-stream9:
24+
runs-on: ubuntu-latest
25+
steps:
26+
- uses: actions/checkout@v3
27+
with:
28+
fetch-depth: 0
29+
- name: Build test container
30+
run: docker build --build-arg=SAMBACC_BASE_IMAGE=quay.io/centos/centos:stream9 -t sambacc:ci-cs9 tests/container/ -f tests/container/Containerfile
31+
- name: Run test container
32+
run: docker run -v $PWD:/var/tmp/build/sambacc sambacc:ci-cs9
33+
test-fedora37:
34+
runs-on: ubuntu-latest
35+
steps:
36+
- uses: actions/checkout@v3
37+
with:
38+
fetch-depth: 0
39+
- name: Build test container
40+
run: docker build --build-arg=SAMBACC_BASE_IMAGE=registry.fedoraproject.org/fedora:37 -t sambacc:ci-fc37 tests/container/ -f tests/container/Containerfile
41+
- name: Run test container
42+
run: docker run -v $PWD:/var/tmp/build/sambacc sambacc:ci-fc37
2343

2444
push:
2545
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)