Skip to content

Commit

Permalink
Merge pull request sclorg#462 from sclorg/remove_exclude_test
Browse files Browse the repository at this point in the history
Get rid off check for .exclude files. It does not make sense
  • Loading branch information
phracek authored Sep 14, 2022
2 parents 0197080 + 4b2b9b2 commit da6ea29
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 da6ea29

Please sign in to comment.