Skip to content

Commit

Permalink
simplify ci
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice committed Jun 17, 2021
1 parent 362ff26 commit a0d8661
Showing 1 changed file with 1 addition and 25 deletions.
26 changes: 1 addition & 25 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,24 +38,6 @@ jobs:
with:
node-version: ${{ env.NODE_VERSION }}

- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/[email protected]
with:
python-version: ${{ env.PYTHON_VERSION }}

- name: Set up Java ${{ env.JAVA_VERSION }}
if: env.NODE_VERSION == '14'
uses: actions/[email protected]
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: |
Expand All @@ -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

0 comments on commit a0d8661

Please sign in to comment.