forked from yugabyte/yugabyte-db
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Making modifications in a secondary repo and pulling them in is tiring. It is not clear the separate repo benefits are worth this process. Test Plan: Run yb-ctl in dev repo. Built a package and verify yb-ctl works properly from within the package https://github.com/iSignal/yugabyte-db/pull/7/checks has the results of the workflow run. Reviewers: bogdan, jason, mikhail Reviewed By: mikhail Subscribers: ybase Differential Revision: https://phabricator.dev.yugabyte.com/D8674
- Loading branch information
Showing
7 changed files
with
2,459 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: yb-ctl-test | ||
|
||
# Controls when the action will run. Triggers the workflow on push or pull request | ||
# events but only for the master branch | ||
on: | ||
push: | ||
branches: | ||
- master | ||
paths: | ||
- '**/yb-ctl*' | ||
|
||
pull_request: | ||
branches: | ||
- master | ||
paths: | ||
- '**/yb-ctl*' | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
yb-ctl-test: | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
matrix: | ||
os: [ macos-latest, ubuntu-18.04 ] | ||
python-version: [ 2.7, 3.8 ] | ||
|
||
steps: | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- uses: actions/checkout@v2 | ||
|
||
- name: Run yb-ctl-test | ||
run: | | ||
set -x | ||
tmpdir=$(mktemp -d) | ||
cp -r scripts/installation "${tmpdir}/" | ||
cd "${tmpdir}/installation" | ||
test/yb-ctl-test.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.