diff --git a/.github/workflows/cross-repo.yaml b/.github/workflows/cross-repo.yaml index 9b34a8cb87..0b7ea9225b 100644 --- a/.github/workflows/cross-repo.yaml +++ b/.github/workflows/cross-repo.yaml @@ -73,6 +73,11 @@ # 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 @@ -107,8 +112,8 @@ # npm install # popd -# # - name: Lint Web UI -# # run: npm run lint +# - name: Lint Web UI +# run: npm run lint # - name: Checkout the nuxeo-elements repo # uses: actions/checkout@v2 @@ -149,12 +154,12 @@ # if: ${{ github.event.inputs.skip_unit_tests == 'false' && github.event.inputs.sauce_labs == 'false' }} # run: npm run test -# # - name: Web UI Unit tests (Sauce Labs) -# # if: ${{ github.event.inputs.skip_unit_tests == 'false' && github.event.inputs.sauce_labs == 'true' }} -# # env: -# # SAUCE_USERNAME: nuxeo-web-ui -# # SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }} -# # run: npm run test +# - name: Web UI Unit tests (Sauce Labs) +# if: ${{ github.event.inputs.skip_unit_tests == 'false' && github.event.inputs.sauce_labs == 'true' }} +# env: +# SAUCE_USERNAME: nuxeo-web-ui +# SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }} +# run: npm run test # - name: 'Update settings.xml with server configuration' # run: | @@ -168,26 +173,26 @@ # # ' > ~/.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: 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' }} @@ -225,4 +230,4 @@ # name: packages # path: | # plugin/web-ui/marketplace/target/nuxeo-web-ui-marketplace-*.zip -# plugin/itests/marketplace/target/nuxeo-web-ui-marketplace-itests-*.zip +# plugin/itests/marketplace/target/nuxeo-web-ui-marketplace-itests-*.zip \ No newline at end of file