Skip to content

Commit

Permalink
WEBUI-1401: stop fest in ftest & cross-repo
Browse files Browse the repository at this point in the history
  • Loading branch information
rakeshkumar1019 committed Dec 27, 2023
1 parent 2e13073 commit 65c8000
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 26 deletions.
45 changes: 24 additions & 21 deletions .github/workflows/cross-repo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,27 +167,30 @@ jobs:
</server>
</servers>
</settings>' > ~/.m2/settings.xml
- name: Nuxeo package build and Ftests
env:
RUN_ALL: ${{ github.event.inputs.run_all }}
BAIL: ${{ github.event.inputs.bail }}
run: |
profiles=()
if [ ${{ github.event.inputs.skip_ftests }} = "false" ]
then
profiles+=('ftest')
fi
if ${{ github.event.inputs.generate_metrics }}
then
profiles+=('metrics')
fi
active_profiles=""
if [ ${#profiles[@]} -gt 0 ]
then
active_profiles="-P$(printf -v active_profiles '%s,' "${profiles[@]}" && echo "${active_profiles%,}")"
fi
mvn install -ntp $active_profiles -DskipInstall
#==================================================================================================================
# this line of code has been commented on due to some driver issues, we will resume it once WEBUI-1267 is resolved.
#==================================================================================================================
# - name: Nuxeo package build and Ftests
# env:
# RUN_ALL: ${{ github.event.inputs.run_all }}
# BAIL: ${{ github.event.inputs.bail }}
# run: |
# profiles=()
# if [ ${{ github.event.inputs.skip_ftests }} = "false" ]
# then
# profiles+=('ftest')
# fi
# if ${{ github.event.inputs.generate_metrics }}
# then
# profiles+=('metrics')
# fi
# active_profiles=""
# if [ ${#profiles[@]} -gt 0 ]
# then
# active_profiles="-P$(printf -v active_profiles '%s,' "${profiles[@]}" && echo "${active_profiles%,}")"
# fi
# mvn install -ntp $active_profiles -DskipInstall

- name: A11y checks
if: ${{ github.event.inputs.skip_a11y == 'false' }}
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/ftest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,14 @@ jobs:
</servers>
</settings>' > ~/.m2/settings.xml
- name: Functional tests
env:
RUN_ALL: false
BAIL: 0
run: mvn -ntp install -Pftest -DskipInstall
#==================================================================================================================
# this line of code has been commented on due to some driver issues, we will resume it once WEBUI-1267 is resolved.
#==================================================================================================================
# - name: Functional tests
# env:
# RUN_ALL: false
# BAIL: 0
# run: mvn -ntp install -Pftest -DskipInstall

- name: Archive cucumber reports
if: ${{ always() }}
Expand Down

0 comments on commit 65c8000

Please sign in to comment.