Skip to content

Commit

Permalink
Fix ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean Francois Denise committed Apr 12, 2024
1 parent 9f875ca commit aaa772e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,19 +110,19 @@ jobs:
docker inspect ${{ env.WILDFLY_S2I_BUILDER_IMAGE }}:${{ env.WILDFLY_IMAGE_VERSION }}
docker run --rm ${{ env.WILDFLY_S2I_BUILDER_IMAGE }}:${{ env.WILDFLY_IMAGE_VERSION }} bash
- name: Behave Tests JDK11, must remove tests that can't run on Java 11
if: matrix.jdk == '11'
if: matrix.jdk == 'jdk11'
run: |
. ~/cekit/bin/activate
pushd wildfly-builder-image
rm -rf tests/features/no-jdk11-*
cekit -v test --image=${{ env.WILDFLY_S2I_BUILDER_IMAGE }}:${{ env.WILDFLY_IMAGE_VERSION }} behave
cekit test --image=${{ env.WILDFLY_S2I_BUILDER_IMAGE }}:${{ env.WILDFLY_IMAGE_VERSION }} behave
popd
- name: Behave Tests JDK
if: matrix.jdk != '11'
if: matrix.jdk != 'jdk11'
run: |
. ~/cekit/bin/activate
pushd wildfly-builder-image
cekit -v test --image=${{ env.WILDFLY_S2I_BUILDER_IMAGE }}:${{ env.WILDFLY_IMAGE_VERSION }} behave
cekit test --image=${{ env.WILDFLY_S2I_BUILDER_IMAGE }}:${{ env.WILDFLY_IMAGE_VERSION }} behave
popd
- name: Additional Tests
run: |
Expand Down

0 comments on commit aaa772e

Please sign in to comment.