Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Build] Add Github workflows #9490

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/actions/setup-superset/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"env": {
"commonjs": true,
"es6": true,
"node": true
},
"extends": "eslint:recommended",
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 2018
},
"rules": {}
}
9 changes: 9 additions & 0 deletions .github/actions/setup-superset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Setup Superset in GitHub Actions

A [Github Action](https://help.github.com/en/actions) with a couple of short hands
for setting up Superset in GitHub CI workflows.

Mostly for reducing redundant code between workflows.

After making edits to `/src`, make sure to run `npm run package` and
commit `dist/index.js` to Git.
17 changes: 17 additions & 0 deletions .github/actions/setup-superset/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Setup Superset
description: Setup the CI/test envrionment for Apache Superset
author: Jesse Yang <hello@yjc.me>
inputs:
prepare:
required: false
description: prepare commands that always run one by one
run:
required: false
description: additional commands that may run in parallel
default: backend
parallel:
required: false
description: whether to run additional commands in parallel
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The parallel mode is not currently in use.

runs:
using: 'node12'
main: 'dist/index.js'
Loading