-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Save the plack logs from tests to a file, and then upload that file as an artifact. This significantly quiets/shortens the output from the tests. Implement by creating a new plack log environment config `ghaction`.
- Loading branch information
Showing
3 changed files
with
44 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# GitHub Actions Workflows | ||
|
||
This directory contains workflow definitions for GitHub actions. | ||
|
||
## Local Testing | ||
|
||
The easiest way to end to end test them is wih a tool such as | ||
https://github.com/nektos/act (https://nektosact.com/). | ||
|
||
``` | ||
$ act --artifact-server-path=/tmp/artifacts | ||
... actions run here! ... | ||
``` | ||
|
||
You can use the `--reuse` flag to reuse information between runs, | ||
which can speed things up. `--action-offline-mode` and `--pull=false` | ||
can be used to test local copies of container images instead. |
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,7 @@ | ||
dispatchers = file | ||
|
||
file.class = Log::Dispatch::File | ||
file.min_level = debug | ||
file.format = [%d{%Y-%m-%d %H:%M:%S}] [%p] %m%n | ||
file.filename = "/tmp/plack.log" | ||
file.mode = ">>" |