diff --git a/.github/workflows/pd-test-build-deploy.yaml b/.github/workflows/pd-test-build-deploy.yaml index 306a475aacc..006da36d6a4 100644 --- a/.github/workflows/pd-test-build-deploy.yaml +++ b/.github/workflows/pd-test-build-deploy.yaml @@ -79,49 +79,49 @@ jobs: files: ./coverage/lcov.info flags: protocol-designer - e2e-test: - name: 'pd e2e tests' - needs: ['js-unit-test'] - timeout-minutes: 30 - strategy: - matrix: - os: ['ubuntu-22.04'] - runs-on: '${{ matrix.os }}' - steps: - - uses: 'actions/checkout@v3' - with: - fetch-depth: 0 - # https://github.com/actions/checkout/issues/290 - - name: 'Fix actions/checkout odd handling of tags' - if: startsWith(github.ref, 'refs/tags') - run: | - git fetch -f origin ${{ github.ref }}:${{ github.ref }} - git checkout ${{ github.ref }} - - uses: 'actions/setup-node@v3' - with: - node-version: '18.19.0' - - name: 'install udev for usb-detection' - if: startsWith(matrix.os, 'ubuntu') - run: | - # WORKAROUND: Remove microsoft debian repo due to https://github.com/microsoft/linux-package-repositories/issues/130. Remove line below after it is resolved - sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list - sudo apt-get update && sudo apt-get install libudev-dev - - name: 'cache yarn cache' - uses: actions/cache@v3 - with: - path: | - ${{ github.workspace }}/.yarn-cache - ${{ github.workspace }}/.npm-cache - key: js-${{ secrets.GH_CACHE_VERSION }}-${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }} - restore-keys: | - js-${{ secrets.GH_CACHE_VERSION }}-${{ runner.os }}-yarn- - - name: 'setup-js' - run: | - npm config set cache ./.npm-cache - yarn config set cache-folder ./.yarn-cache - make setup-js - - name: 'test-e2e' - run: make -C protocol-designer test-e2e + # e2e-test: + # name: 'pd e2e tests' + # needs: ['js-unit-test'] + # timeout-minutes: 30 + # strategy: + # matrix: + # os: ['ubuntu-22.04'] + # runs-on: '${{ matrix.os }}' + # steps: + # - uses: 'actions/checkout@v3' + # with: + # fetch-depth: 0 + # # https://github.com/actions/checkout/issues/290 + # - name: 'Fix actions/checkout odd handling of tags' + # if: startsWith(github.ref, 'refs/tags') + # run: | + # git fetch -f origin ${{ github.ref }}:${{ github.ref }} + # git checkout ${{ github.ref }} + # - uses: 'actions/setup-node@v3' + # with: + # node-version: '18.19.0' + # - name: 'install udev for usb-detection' + # if: startsWith(matrix.os, 'ubuntu') + # run: | + # # WORKAROUND: Remove microsoft debian repo due to https://github.com/microsoft/linux-package-repositories/issues/130. Remove line below after it is resolved + # sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list + # sudo apt-get update && sudo apt-get install libudev-dev + # - name: 'cache yarn cache' + # uses: actions/cache@v3 + # with: + # path: | + # ${{ github.workspace }}/.yarn-cache + # ${{ github.workspace }}/.npm-cache + # key: js-${{ secrets.GH_CACHE_VERSION }}-${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }} + # restore-keys: | + # js-${{ secrets.GH_CACHE_VERSION }}-${{ runner.os }}-yarn- + # - name: 'setup-js' + # run: | + # npm config set cache ./.npm-cache + # yarn config set cache-folder ./.yarn-cache + # make setup-js + # - name: 'test-e2e' + # run: make -C protocol-designer test-e2e build-pd: name: 'build protocol designer artifact' needs: ['js-unit-test']