Skip to content

Commit

Permalink
WEBUI-1401: stop ftest in cross repo
Browse files Browse the repository at this point in the history
  • Loading branch information
rakeshkumar1019 committed Dec 29, 2023
1 parent 65c8000 commit 62f3b03
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 32 deletions.
50 changes: 26 additions & 24 deletions .github/workflows/cross-repo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ jobs:
distribution: 'zulu'
java-version: '11'

- name: Install google chrome
run: |
wget -q https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_114.0.5735.90-1_amd64.deb
apt install -y --allow-downgrades ./google-chrome-stable_114.0.5735.90-1_amd64.deb
- name: Determine nuxeo-web-ui branch to use
uses: nuxeo/ui-team-gh-actions/get-branch@ca09d5c52a62e297502d3572c36d813be927982a
id: pick_nuxeo_web_ui_branch
Expand Down Expand Up @@ -167,30 +172,27 @@ jobs:
</server>
</servers>
</settings>' > ~/.m2/settings.xml
#==================================================================================================================
# 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: 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: 5 additions & 8 deletions .github/workflows/ftest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,11 @@ jobs:
</servers>
</settings>' > ~/.m2/settings.xml
#==================================================================================================================
# 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: 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 62f3b03

Please sign in to comment.