mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-12-25 02:36:18 +08:00
Run unit tests in separate job
This commit is contained in:
parent
11c5fa73ac
commit
ed5f3e6998
2
.github/actions/build-dist/action.yml
vendored
2
.github/actions/build-dist/action.yml
vendored
@ -7,7 +7,7 @@ runs:
|
||||
shell: bash
|
||||
run: |
|
||||
npm install
|
||||
npm run all
|
||||
npm run build
|
||||
- name: Upload distribution
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
|
10
.github/workflows/ci-quick-check.yml
vendored
10
.github/workflows/ci-quick-check.yml
vendored
@ -14,6 +14,16 @@ jobs:
|
||||
- name: Build and upload distribution
|
||||
uses: ./.github/actions/build-dist
|
||||
|
||||
run-unit-tests:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout sources
|
||||
uses: actions/checkout@v3
|
||||
- name: Run tests
|
||||
run: |
|
||||
npm install
|
||||
npm run all
|
||||
|
||||
action-inputs:
|
||||
needs: build-distribution
|
||||
uses: ./.github/workflows/integ-test-action-inputs.yml
|
||||
|
Loading…
x
Reference in New Issue
Block a user