-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #121 from perspect3vism/cli
AD4M cli
- Loading branch information
Showing
52 changed files
with
11,768 additions
and
13 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,52 @@ | ||
name: Integration | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
|
||
jobs: | ||
test: | ||
name: AD4M cli <> AD4M host | ||
runs-on: macos-latest | ||
strategy: | ||
matrix: | ||
node-version: [16.x] | ||
|
||
steps: | ||
- name: Fetch source code | ||
uses: actions/checkout@v2 | ||
|
||
- name: git init submodule | ||
run: git submodule init && git submodule update | ||
|
||
- name: Install Rust stable | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
override: true | ||
toolchain: 1.63.0 | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Yarn Install | ||
run: yarn install | ||
|
||
- name: Yarn Build | ||
run: yarn build | ||
|
||
- name: Build AD4M-Host | ||
run: yarn run package-macos | ||
|
||
- name: Build AD4M cli | ||
run: cd cli && cargo build --release | ||
|
||
- name: Run binaries test script | ||
run: ./tests/bats/bin/bats tests/binaries.bats | ||
|
||
- name: Run integration test script | ||
run: ./tests/bats/bin/bats tests/integration.bats | ||
|
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
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,9 @@ | ||
[submodule "tests/bats"] | ||
path = tests/bats | ||
url = https://github.com/bats-core/bats-core.git | ||
[submodule "tests/test_helper/bats-support"] | ||
path = tests/test_helper/bats-support | ||
url = https://github.com/bats-core/bats-support.git | ||
[submodule "tests/test_helper/bats-assert"] | ||
path = tests/test_helper/bats-assert | ||
url = https://github.com/bats-core/bats-assert.git |
Oops, something went wrong.