mirror of
https://github.com/apache/superset.git
synced 2026-04-16 14:45:21 +00:00
Ignore '/docs' on some GH actions, give docs its own action (#10949)
* ignore docs on several actions, give docs its own action * Random doc change to see if the new action runs. * umm... not paths-ignore, paths! * eof fix * enabling typescript checking on docs
This commit is contained in:
30
.github/workflows/superset-docs.yml
vendored
Normal file
30
.github/workflows/superset-docs.yml
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
name: Docs
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- 'docs/**'
|
||||
pull_request:
|
||||
paths:
|
||||
- 'docs/**'
|
||||
|
||||
jobs:
|
||||
docs:
|
||||
name: build
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
- name: Install dependencies
|
||||
- name: npm install
|
||||
working-directory: ./docs
|
||||
run: |
|
||||
npm install
|
||||
- name: lint
|
||||
working-directory: ./docs
|
||||
run: |
|
||||
npm run lint
|
||||
- name: gatsby build
|
||||
working-directory: ./docs
|
||||
run: |
|
||||
npm run build
|
||||
8
.github/workflows/superset-e2e.yml
vendored
8
.github/workflows/superset-e2e.yml
vendored
@@ -1,6 +1,12 @@
|
||||
name: E2E
|
||||
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- 'docs/**'
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- 'docs/**'
|
||||
|
||||
jobs:
|
||||
Cypress:
|
||||
|
||||
23
.github/workflows/superset-frontend.yml
vendored
23
.github/workflows/superset-frontend.yml
vendored
@@ -1,6 +1,12 @@
|
||||
name: Frontend
|
||||
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- 'docs/**'
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- 'docs/**'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -25,18 +31,3 @@ jobs:
|
||||
working-directory: ./superset-frontend
|
||||
run: |
|
||||
bash <(curl -s https://codecov.io/bash) -cF javascript
|
||||
|
||||
docs:
|
||||
name: build
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
- name: Install dependencies
|
||||
working-directory: ./superset-frontend
|
||||
run: |
|
||||
npm install
|
||||
- name: gatsby build
|
||||
working-directory: ./superset-frontend
|
||||
run: |
|
||||
npm run build
|
||||
|
||||
8
.github/workflows/superset-python.yml
vendored
8
.github/workflows/superset-python.yml
vendored
@@ -1,7 +1,13 @@
|
||||
# Python unit tests
|
||||
name: Python
|
||||
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- 'docs/**'
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- 'docs/**'
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
|
||||
8
.github/workflows/test-hive.yml
vendored
8
.github/workflows/test-hive.yml
vendored
@@ -1,6 +1,12 @@
|
||||
name: Hive
|
||||
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- 'docs/**'
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- 'docs/**'
|
||||
|
||||
jobs:
|
||||
test-postgres-hive:
|
||||
|
||||
8
.github/workflows/test-presto.yml
vendored
8
.github/workflows/test-presto.yml
vendored
@@ -1,6 +1,12 @@
|
||||
name: Presto
|
||||
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- 'docs/**'
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- 'docs/**'
|
||||
|
||||
jobs:
|
||||
test-postgres-presto:
|
||||
|
||||
Reference in New Issue
Block a user