Skip to content

Commit

Permalink
Get rid off check for .exclude files. It does not make sense
Browse files Browse the repository at this point in the history
Signed-off-by: Petr "Stone" Hracek <[email protected]>
  • Loading branch information
phracek committed Sep 14, 2022
1 parent 0197080 commit 4b2b9b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/container-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,16 +100,10 @@ jobs:
with:
files: "${{ matrix.version }}/${{ steps.vars.outputs.DOCKERFILE_NAME }}"

- name: Check that .exclude-${{ matrix.os_test }} file is not present
id: check_exclude_file
uses: andstor/file-existence-action@v1
with:
files: "${{ matrix.version }}/.exclude-${{ matrix.os_test }}"

# https://github.com/sclorg/testing-farm-as-github-action
- name: Schedule tests for ${{ matrix.version }} - ${{ matrix.context }}
id: github_action
if: ${{ steps.check_exclude_file.outputs.files_exists == 'false' && steps.check_dockerfile.outputs.files_exists == 'true' }}
if: steps.check_dockerfile.outputs.files_exists == 'true'
uses: sclorg/testing-farm-as-github-action@v1
with:
api_key: ${{ secrets[matrix.api_key] }}
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/openshift-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,16 +84,10 @@ jobs:
with:
files: "${{ matrix.version }}/${{ steps.vars.outputs.DOCKERFILE_NAME }}"

- name: Check that .exclude-${{ matrix.os_test }} file is not present
id: check_exclude_file
uses: andstor/file-existence-action@v1
with:
files: "${{ matrix.version }}/.exclude-${{ matrix.os_test }}"

# https://github.com/sclorg/testing-farm-as-github-action
- name: Schedule tests for ${{ matrix.version }} - ${{ matrix.context }}
id: github_action
if: ${{ steps.check_exclude_file.outputs.files_exists == 'false' && steps.check_dockerfile.outputs.files_exists == 'true' }}
if: steps.check_dockerfile.outputs.files_exists == 'true'
uses: sclorg/testing-farm-as-github-action@v1
with:
api_key: ${{ secrets[matrix.api_key] }}
Expand Down

0 comments on commit 4b2b9b2

Please sign in to comment.