-
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.
feat: add jikkou wrapper to capture stdout, stderr
- Loading branch information
1 parent
64ed61c
commit 90e5824
Showing
12 changed files
with
4,505 additions
and
7 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,58 @@ | ||
name: 'Setup Jikkou Wrapper' | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
jikkou-wrapper: | ||
name: 'Jikkou Versions' | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest] | ||
jikkou-versions: [0.29.0, latest] | ||
|
||
steps: | ||
- name: Checkout GitHub repository | ||
uses: actions/checkout@v4 | ||
with: | ||
clean: true | ||
|
||
- name: Setup Jikkou - ${{ matrix['jikkou-versions'] }} | ||
uses: ./ | ||
with: | ||
jikkou_version: ${{ matrix['jikkou-versions'] }} | ||
jikkou_config: ./config/jikkouconfig.json | ||
jikkou_wrapper: true | ||
|
||
# jikkou-versions != latest | ||
- name: Validate Jikkou Version - ${{ matrix['jikkou-versions'] }} | ||
id: version-latest | ||
if: ${{ matrix['jikkou-versions'] != 'latest' }} | ||
run: jikkou -V | grep ${{ matrix['jikkou-versions']}} | ||
|
||
# jikkou-versions == latest | ||
- name: Validate Jikkou Version - ${{ matrix['jikkou-versions'] }} | ||
id: version | ||
if: ${{ matrix['jikkou-versions'] == 'latest' }} | ||
run: jikkou -V | grep 'Jikkou version' | ||
|
||
- name: Output stdout | ||
if: ${{ matrix['jikkou-versions'] == 'latest' }} | ||
run: echo ${{ steps.version.outputs.stdout }} | ||
|
||
- name: Output stderr | ||
if: ${{ matrix['jikkou-versions'] == 'latest' }} | ||
run: echo ${{ steps.version.outputs.stderr }} | ||
|
||
- name: Output stderr | ||
if: ${{ matrix['jikkou-versions'] == 'latest' }} | ||
run: echo ${{ steps.version.outputs.exitcode }} | ||
|
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 |
---|---|---|
@@ -1,2 +1,11 @@ | ||
/node_modules/ | ||
/.idea/ | ||
|
||
# ./wrapper/dist gets included in top-level ./dist | ||
wrapper/dist | ||
|
||
# Jetbrains IDEs | ||
.idea/ | ||
.iml | ||
|
||
# dotenv environment variables file | ||
.env |
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.