-
Notifications
You must be signed in to change notification settings - Fork 5
Publish summary in PR with GitHub Actions #9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
23d3cfe
build a composite action
agneum a6b7307
add a fake step
agneum db65656
enable checker action and observe fs
agneum 8d15ddc
publish json response
agneum 41dc3ac
cat response file and use markdown
agneum 1d2fb0c
format response.json
agneum 9b9fba7
detach core to run Docker step
agneum 680de26
refer to subdir
agneum 0a099ba
use context
agneum 7409a09
run without docker step
agneum 95c5170
run sh
agneum 9f94502
pass input values
agneum 9f0edf7
roll back to Docker
agneum 342d2cf
prepare summary
agneum 5ee375d
prepare to PR
agneum 7a42c95
remove insecure curl flag
agneum 958744d
fix: try inputs in composite actions
agneum 6fdfc7f
fix: try inputs in composite actions
agneum ac06e95
fix: try inputs in composite actions
agneum 09b83dd
downloading summary report
agneum c10ac2a
always run report jobs
agneum 9aeff6a
debug report.md
agneum 14b4edd
debug reports
agneum 15625ac
reformat env
agneum 65ce348
build comment body
agneum e3a4185
remove debug outputs
agneum 9574d0e
post summary report, fix description, remove debug flags
agneum 92fd8b9
fix action description
agneum 4321007
change the target branch version
agneum File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
File renamed without changes.
This file contains hidden or 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,70 @@ | ||
name: 'Database Lab: realistic DB testing in CI' | ||
branding: | ||
icon: 'database' | ||
color: 'orange' | ||
description: 'Test DB migrations using DB branches provided by Database Lab Engine (DLE)' | ||
inputs: | ||
owner: | ||
description: 'Repository owner' | ||
required: true | ||
default: ${{ github.repository_owner }} | ||
repo: | ||
description: 'Repository' | ||
required: true | ||
default: ${{ github.event.repository.name }} | ||
ref: | ||
description: 'Ref (SHA, branch, or tag) that needs to be tested' | ||
required: true | ||
default: ${{ github.ref }} | ||
pull_request: | ||
description: 'GitHub PR (URL)' | ||
required: false | ||
default: ${{ github.event.pull_request.html_url }} | ||
compare: | ||
description: 'GitHub PR comparison URL' | ||
required: false | ||
default: ${{ github.event.compare }} | ||
commit_sha: | ||
description: 'Commit SHA' | ||
required: false | ||
default: ${{ github.event.after }} | ||
author_name: | ||
description: 'Author name' | ||
required: false | ||
default: ${{ github.event.head_commit.author.name }} | ||
|
||
commands: | ||
description: 'List of commands to run DB migrations' | ||
required: true | ||
dbname: | ||
description: 'Database name' | ||
required: false | ||
default: "" | ||
migration_envs: | ||
description: 'List of environment variables that will be set before testing' | ||
required: false | ||
download_artifacts: | ||
description: 'Store artifacts and allow downloading them' | ||
required: false | ||
default: "false" | ||
|
||
observation_interval: | ||
description: 'Observation interval, seconds (default: 10)' | ||
required: false | ||
default: "10" | ||
max_lock_duration: | ||
description: 'Exclusive lock duration threshold, seconds (default: 10)' | ||
required: false | ||
default: "10" | ||
max_duration: | ||
description: 'DB migration duration threshold, seconds (default: 3600)' | ||
required: false | ||
default: "3600" | ||
|
||
|
||
outputs: | ||
response: | ||
description: 'DB migration testing results' | ||
runs: | ||
using: 'docker' | ||
image: 'Dockerfile' |
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.