-
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.
Merge pull request #12 from getappmap/feat/check
feat: Check
- Loading branch information
Showing
25 changed files
with
13,847 additions
and
5,469 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 |
---|---|---|
|
@@ -9,21 +9,25 @@ env: | |
APPMAP_TELEMETRY_DISABLED: 'true' | ||
|
||
jobs: | ||
appmap_archive_main: | ||
appmap_archive: | ||
runs-on: ubuntu-latest | ||
if: github.event.pull_request.merged == true | ||
steps: | ||
- name: Checkout step | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install dependencies | ||
run: yarn install | ||
- name: Install and configure AppMap | ||
uses: getappmap/[email protected] | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
verbose: true | ||
|
||
- name: Install AppMap tools | ||
run: | | ||
curl -o /usr/local/bin/appmap -L https://github.com/getappmap/appmap-js/releases/download/%40appland%2Fappmap-preflight-v1.0-pre.19/appmap-preflight-linux-x64 | ||
chmod a+x /usr/local/bin/appmap | ||
ln -s /usr/local/bin/appmap /tmp/appmap | ||
- name: Build AppMaps | ||
run: yarn appmap | ||
|
||
- name: Archive AppMaps | ||
uses: getappmap/[email protected] | ||
with: | ||
|
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 was deleted.
Oops, something went wrong.
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,14 @@ | ||
name: Check test status after AppMap preflight | ||
description: | | ||
This action verifies that all test cases have passed. If any test cases have failed, the action | ||
will fail. It checks the test case succeeded / failed status by examining the JSON report | ||
file created by the `preflight` action. | ||
inputs: | ||
directory: | ||
description: | | ||
Directory containing the JSON report file. This is most easily obtained as the | ||
`report-dir` output of the preflight action. | ||
required: true | ||
runs: | ||
using: 'node16' | ||
main: '../dist/check/index.js' |
Oops, something went wrong.