diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 542e6eecb5085c..c8f1b564b570c2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,24 +38,6 @@ jobs: with: node-version: ${{ env.NODE_VERSION }} - - name: Set up Python ${{ env.PYTHON_VERSION }} - uses: actions/setup-python@v2.2.2 - with: - python-version: ${{ env.PYTHON_VERSION }} - - - name: Set up Java ${{ env.JAVA_VERSION }} - if: env.NODE_VERSION == '14' - uses: actions/setup-java@v2.1.0 - with: - java-version: ${{ env.JAVA_VERSION }} - distribution: 'adopt' - java-package: jre - check-latest: false - - - name: Skip Java tests - if: env.NODE_VERSION != '14' - run: echo "SKIP_JAVA_TESTS=true" >> $GITHUB_ENV - - name: Init platform shell: bash run: | @@ -81,14 +63,8 @@ jobs: restore-keys: | ${{ env.YARN_PACKAGE_CACHE_KEY }}-${{ runner.os }}-yarn_cache- - # Clear caches on cache miss, otherwise they will grow indefinitely - - name: Clear yarn cache - if: steps.yarn_cache_packages.outputs.cache-hit != 'true' - run: yarn cache clean - - name: Installing dependencies run: yarn install --frozen-lockfile - name: Unit tests - run: yarn jest --maxWorkers=2 --ci terraform - + run: yarn jest --maxWorkers=2 --ci --coverage false lib/manager/terraform