Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 1.36 KB

README.md

File metadata and controls

33 lines (21 loc) · 1.36 KB

KBase SDK Actions

GitHub Actions CI workflows for apps built with the KBase SDK

Usage

  1. Ensure you have a KBase developer token saved as KBASE_TEST_TOKEN in your repo or org's GitHub Secrets settings.

  2. Copy the action.yaml file to your project's .github/workflows/ directory.

# Skip if directory already exists
mkdir -p .github/workflows

# Add workflow file
curl https://raw.githubusercontent.com/kbaseapps/kb_sdk_actions/master/action.yaml  --output .github/workflows/kb_sdk_test.yaml
  1. Commit the new workflow to your repo.
git add .github/workflows/kb_sdk_test.yaml
git commit -m "Adding Actions workflow for KB SDK tests."
git push 
# Push to the branch of your pull request, or push to master if preferred.
git push -u origin master
  1. You're done! Any future commits and pull requests to your repo's master branch will trigger the SDK tests to run.

To review your projet's SDK test status and results, see your repo's Actions tab.