diff --git a/.github/workflows/ftest.yaml b/.github/workflows/ftest.yaml
deleted file mode 100644
index 77e0d34e66..0000000000
--- a/.github/workflows/ftest.yaml
+++ /dev/null
@@ -1,165 +0,0 @@
-name: Functional tests
-
-on:
- pull_request:
- branches:
- - maintenance-3.0.x
- workflow_call:
- inputs:
- branch:
- description: 'The current branch'
- default: maintenance-3.0.x
- type: string
- required: false
- secrets:
- NPM_PACKAGES_TOKEN:
- description: 'NPM_PACKAGES_TOKEN'
- required: true
- PACKAGES_AUTH_USER:
- description: 'PACKAGES_AUTH_USER'
- required: true
- PACKAGES_AUTH_TOKEN:
- description: 'PACKAGES_AUTH_TOKEN'
- required: true
-
-env:
- REFERENCE_BRANCH: maintenance-3.0.x
- NPM_REPOSITORY: https://packages.nuxeo.com/repository/npm-public/
- BRANCH_NAME: ${{ github.head_ref || inputs.branch || 'maintenance-3.0.x' }}
-
-jobs:
- ftests:
- runs-on: [ self-hosted, master ]
- steps:
- - uses: actions/checkout@v2
- with:
- ref: ${{ env.BRANCH_NAME }}
-
- - uses: actions/setup-node@v3
- with:
- registry-url: ${{ env.NPM_REPOSITORY }}
- scope: '@nuxeo'
- node-version: 18
-
- - uses: actions/setup-java@v2
- with:
- distribution: 'zulu'
- java-version: '11'
-
- - name: Determine nuxeo-elements branch to link
- id: pick_nuxeo_elements_branch
- run: |
- if git ls-remote --exit-code --heads https://github.com/nuxeo/nuxeo-elements ${{ env.BRANCH_NAME }}; then
- echo ::set-output name=branch::${{ env.BRANCH_NAME }}
- else
- echo ::set-output name=branch::${{ env.REFERENCE_BRANCH }}
- fi
-
- - name: Install Web UI
- env:
- NODE_AUTH_TOKEN: ${{ secrets.NPM_PACKAGES_TOKEN }}
- run: |
- npm install
- pushd packages/nuxeo-web-ui-ftest
- npm install
- popd
- pushd packages/nuxeo-designer-catalog
- npm install
- popd
-
- - name: Checkout the nuxeo-elements repo
- uses: actions/checkout@v2
- with:
- repository: nuxeo/nuxeo-elements
- path: nuxeo-elements
- fetch-depth: 1
- ref: ${{ steps.pick_nuxeo_elements_branch.outputs.branch }}
-
- - name: Pack Elements modules
- run: |
- pushd nuxeo-elements
- pushd core
- echo "ELEMENTS_CORE=$(npm pack 2>&1 | tail -1)" >> $GITHUB_ENV
- popd
-
- pushd ui
- echo "ELEMENTS_UI=$(npm pack 2>&1 | tail -1)" >> $GITHUB_ENV
- popd
-
- pushd dataviz
- echo "ELEMENTS_DATAVIZ=$(npm pack 2>&1 | tail -1)" >> $GITHUB_ENV
- popd
-
- pushd testing-helpers
- echo "ELEMENTS_HELPERS=$(npm pack 2>&1 | tail -1)" >> $GITHUB_ENV
- popd
- popd
-
- - name: Add .npmrc
- run: |
- pushd /tmp/_temp/
- rm .npmrc
- touch .npmrc
- popd
- echo '
- packages.nuxeo.com/repository/npm-public/:_auth=${NODE_AUTH_TOKEN}
- @nuxeo:registry=https://packages.nuxeo.com/repository/npm-public/
- always-auth=true
- ' >> /tmp/_temp/.npmrc
-
- - name: Link elements to Web UI
- run: |
- npm install --no-package-lock --@nuxeo:registry="${{ env.NPM_REPOSITORY }}" nuxeo-elements/core/${ELEMENTS_CORE}
- npm install --no-package-lock --@nuxeo:registry="${{ env.NPM_REPOSITORY }}" nuxeo-elements/ui/${ELEMENTS_UI}
- npm install --no-package-lock --@nuxeo:registry="${{ env.NPM_REPOSITORY }}" nuxeo-elements/dataviz/${ELEMENTS_DATAVIZ}
- npm install --no-package-lock --@nuxeo:registry="${{ env.NPM_REPOSITORY }}" nuxeo-elements/testing-helpers/${ELEMENTS_HELPERS}
-
- - name: 'Update settings.xml with server configuration'
- run: |
- echo '