Skip to content

Commit ebd7d88

Browse files
pkhartskphracek
authored andcommitted
Tests use reusable workflows from ci-actions
1 parent 534d697 commit ebd7d88

File tree

3 files changed

+9
-106
lines changed

3 files changed

+9
-106
lines changed

.github/workflows/container-tests.yml

Lines changed: 9 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,13 @@ on:
33
types:
44
- created
55
jobs:
6+
check-readme:
7+
uses: "sclorg/ci-actions/.github/workflows/check-readme.yml@main"
68
container-tests:
7-
name: "Container tests: ${{ matrix.version }} - ${{ matrix.os_test }}"
8-
runs-on: ubuntu-latest
9-
concurrency:
10-
group: container-${{ github.event.issue.number }}-${{ matrix.version }}-${{ matrix.os_test }}
11-
cancel-in-progress: true
12-
strategy:
13-
fail-fast: false
14-
matrix:
15-
version: [ "8.0", "8.4" ]
16-
os_test: [ "fedora", "rhel8", "rhel9", "rhel10", "c9s", "c10s" ]
17-
test_case: [ "container" ]
18-
19-
if: |
20-
github.event.issue.pull_request
21-
&& (contains(github.event.comment.body, '[test]') || contains(github.event.comment.body, '[test-all]'))
22-
&& contains(fromJson('["OWNER", "MEMBER"]'), github.event.comment.author_association)
23-
steps:
24-
- uses: sclorg/tfaga-wrapper@main
25-
with:
26-
os_test: ${{ matrix.os_test }}
27-
version: ${{ matrix.version }}
28-
test_case: ${{ matrix.test_case }}
29-
public_api_key: ${{ secrets.TF_PUBLIC_API_KEY }}
30-
private_api_key: ${{ secrets.TF_INTERNAL_API_KEY }}
9+
needs: check-readme
10+
uses: "sclorg/ci-actions/.github/workflows/container-tests.yml@main"
11+
with:
12+
enabled-tests: '["container","openshift-4","openshift-pytest"]'
13+
versions: '[ "8.0", "8.4" ]'
14+
openshift-versions: '[ "8.0", "8.4" ]'
15+
secrets: inherit

.github/workflows/openshift-pytests.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

.github/workflows/openshift-tests.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

0 commit comments

Comments
 (0)