Skip to content

Commit

Permalink
WEBUI-1268: inactive github pipeline for functional and accessibility…
Browse files Browse the repository at this point in the history
… test cases
  • Loading branch information
poonamyadav252 committed Sep 5, 2023
1 parent 4c22738 commit 56426b5
Show file tree
Hide file tree
Showing 4 changed files with 74 additions and 50 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/a11y.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,9 @@ jobs:
- name: Web UI build
run: mvn -B -ntp install

- name: A11y checks
run: mvn -B -ntp -f plugin/a11y install
#==================================================================================================================
# this line of code has been commented on due to some driver issues, we will resume it once WEBUI-1266 is resolved.
#==================================================================================================================
# - name: A11y checks
# run: mvn -B -ntp -f plugin/a11y install
#==================================================================================================================
58 changes: 33 additions & 25 deletions .github/workflows/cross-repo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -171,31 +171,39 @@ jobs:
</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
- name: A11y checks
if: ${{ github.event.inputs.skip_a11y == 'false' }}
run: |
mvn -B -nsu -f plugin/a11y -ntp install
#==================================================================================================================
# 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
#==================================================================================================================

#==================================================================================================================
# this line of code has been commented on due to some driver issues, we will resume it once WEBUI-1266 is resolved.
#==================================================================================================================
# - name: A11y checks
# if: ${{ github.event.inputs.skip_a11y == 'false' }}
# run: |
# mvn -B -nsu -f plugin/a11y -ntp install
#==================================================================================================================

- name: Archive cucumber reports
if: ${{ always() }}
Expand Down
14 changes: 9 additions & 5 deletions .github/workflows/ftest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,15 @@ 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
44 changes: 26 additions & 18 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,26 +22,34 @@ jobs:
with:
branch: maintenance-3.1.x

a11y:
uses: nuxeo/nuxeo-web-ui/.github/workflows/[email protected]
secrets:
NPM_PACKAGES_TOKEN: ${{ secrets.NPM_PACKAGES_TOKEN }}
PACKAGES_AUTH_USER: ${{ secrets.PACKAGES_AUTH_USER }}
PACKAGES_AUTH_TOKEN: ${{ secrets.PACKAGES_AUTH_TOKEN }}
with:
branch: maintenance-3.1.x

ftest:
uses: nuxeo/nuxeo-web-ui/.github/workflows/[email protected]
secrets:
NPM_PACKAGES_TOKEN: ${{ secrets.NPM_PACKAGES_TOKEN }}
PACKAGES_AUTH_USER: ${{ secrets.PACKAGES_AUTH_USER }}
PACKAGES_AUTH_TOKEN: ${{ secrets.PACKAGES_AUTH_TOKEN }}
with:
branch: maintenance-3.1.x
#==================================================================================================================
# this line of code has been commented on due to some driver issues, we will resume it once WEBUI-1266 is resolved.
#==================================================================================================================
# a11y:
# uses: nuxeo/nuxeo-web-ui/.github/workflows/[email protected]
# secrets:
# NPM_PACKAGES_TOKEN: ${{ secrets.NPM_PACKAGES_TOKEN }}
# PACKAGES_AUTH_USER: ${{ secrets.PACKAGES_AUTH_USER }}
# PACKAGES_AUTH_TOKEN: ${{ secrets.PACKAGES_AUTH_TOKEN }}
# with:
# branch: maintenance-3.1.x
#==================================================================================================================

#==================================================================================================================
# this line of code has been commented on due to some driver issues, we will resume it once WEBUI-1267 is resolved.
#==================================================================================================================
# ftest:
# uses: nuxeo/nuxeo-web-ui/.github/workflows/[email protected]
# secrets:
# NPM_PACKAGES_TOKEN: ${{ secrets.NPM_PACKAGES_TOKEN }}
# PACKAGES_AUTH_USER: ${{ secrets.PACKAGES_AUTH_USER }}
# PACKAGES_AUTH_TOKEN: ${{ secrets.PACKAGES_AUTH_TOKEN }}
# with:
# branch: maintenance-3.1.x
#==================================================================================================================

build:
needs: [lint, test, a11y, ftest]
needs: [lint, test]
runs-on: [self-hosted, master]
steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit 56426b5

Please sign in to comment.