-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use appsharing for testing jupyterlite from PRs and galata reports (#188
- Loading branch information
1 parent
b9ec042
commit 3326473
Showing
2 changed files
with
49 additions
and
0 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
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,35 @@ | ||
name: Add preview link to PR | ||
|
||
on: | ||
workflow_run: | ||
workflows: ['Build'] | ||
types: | ||
- completed | ||
|
||
permissions: | ||
pull-requests: write | ||
|
||
jobs: | ||
comment-preview: | ||
runs-on: ubuntu-latest | ||
if: > | ||
${{ github.event.workflow_run.event == 'pull_request' && | ||
github.event.workflow_run.conclusion == 'success' }} | ||
steps: | ||
- name: 'Comment APSS link on workflow' | ||
uses: trungleduc/appsharingspace-pr-comment/.github/actions/pr-comment@v2 | ||
with: | ||
github_token: ${{ secrets.github_token }} | ||
index_path: lab/index.html | ||
comment-galata: | ||
runs-on: ubuntu-latest | ||
if: > | ||
${{ github.event.workflow_run.event == 'pull_request'}} | ||
steps: | ||
- name: 'Comment galata link on workflow' | ||
uses: trungleduc/appsharingspace-pr-comment/.github/actions/pr-comment@v2 | ||
with: | ||
comment_prefix: '**Integration tests repot:**' | ||
artifact_name: galata-apss | ||
github_token: ${{ secrets.github_token }} | ||
index_path: playwright-report/index.html |