Test dist download on CI

This commit is contained in:
Paul Merlin 2020-06-13 14:33:32 +02:00
parent 43efc20423
commit 2bf5eec3b6
2 changed files with 14 additions and 2 deletions

View file

@ -14,12 +14,18 @@ jobs:
run: | run: |
npm install npm install
npm run all npm run all
- name: Test - name: Test wrapper
uses: ./ uses: ./
with: with:
wrapper-directory: __tests__/data/basic wrapper-directory: __tests__/data/basic
build-root-directory: __tests__/data/basic build-root-directory: __tests__/data/basic
arguments: help arguments: help
- name: Test dist download
uses: ./
with:
gradle-version: 6.5
build-root-directory: __tests__/data/basic
arguments: help
- name: Check for uncommitted changes - name: Check for uncommitted changes
# Ensure no changes, but ignore node_modules dir since dev/fresh ci deps installed. # Ensure no changes, but ignore node_modules dir since dev/fresh ci deps installed.
run: | run: |

View file

@ -13,12 +13,18 @@ jobs:
steps: steps:
- name: Checkout sources - name: Checkout sources
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Test - name: Test wrapper
uses: ./ uses: ./
with: with:
wrapper-directory: __tests__/data/basic wrapper-directory: __tests__/data/basic
build-root-directory: __tests__/data/basic build-root-directory: __tests__/data/basic
arguments: help arguments: help
- name: Test dist download
uses: ./
with:
gradle-version: 6.5
build-root-directory: __tests__/data/basic
arguments: help
- name: Check for uncommitted changes - name: Check for uncommitted changes
# Ensure no changes, but ignore node_modules dir since dev/fresh ci deps installed. # Ensure no changes, but ignore node_modules dir since dev/fresh ci deps installed.
run: | run: |