mirror of https://github.com/apache/druid.git
Separate web-checks from static-checks to improve build time (#14071)
* Moves web-checks to separate job
This commit is contained in:
parent
9ed8beca5e
commit
f86ea5cbc4
|
@ -139,14 +139,27 @@ jobs:
|
|||
--levels ERROR \
|
||||
--scope JavaInspectionsScope
|
||||
|
||||
web-checks:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: checkout branch
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up JDK 11
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: '11'
|
||||
distribution: 'temurin'
|
||||
cache: maven
|
||||
|
||||
- name: setup node
|
||||
if: ${{ matrix.java == 'jdk8' }}
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16.17.0
|
||||
|
||||
- name: docs
|
||||
if: ${{ matrix.java == 'jdk8' }}
|
||||
run: |
|
||||
(cd website && npm install)
|
||||
cd website
|
||||
|
@ -154,14 +167,12 @@ jobs:
|
|||
npm run spellcheck
|
||||
|
||||
- name: web console
|
||||
if: ${{ matrix.java == 'jdk8' }}
|
||||
run: |
|
||||
${MVN} test -pl 'web-console'
|
||||
cd web-console
|
||||
{ for i in 1 2 3; do npm run codecov && break || sleep 15; done }
|
||||
|
||||
- name: web console end-to-end test
|
||||
if: ${{ matrix.java == 'jdk8' }}
|
||||
run: |
|
||||
./.github/scripts/setup_generate_license.sh
|
||||
web-console/script/druid build
|
||||
|
|
Loading…
Reference in New Issue