Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ jobs:
- run: pip3 install ansi2html junit2html

# generate html files from build outputs
- run: script -q /dev/null mix credo --strict | ansi2html --t Credo -a -s solarized > credo.html
- run: script -q /dev/null mix sobelow -v | ansi2html --t Sobelow -a -s solarized > sobelow.html
- run: mix credo --strict > credo_output || true
- run: cat credo_output | ansi2html --t Credo -a -s solarized > credo.html
- run: mix sobelow -v > sobelow_output
- run: cat sobelow_output | ansi2html --t Sobelow -a -s solarized > sobelow.html
- run: junit2html build/tests.xml tests.html

- name: Run stoat action
uses: stoat-dev/stoat-action@v0
if: always()
17 changes: 17 additions & 0 deletions .stoat/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
version: 1
enabled: true
plugins:
job_runtime:
enabled: true
static_hosting:
test-results:
path: hello/tests.html
test-coverage:
path: hello/cover/excoveralls.html
docs:
path: hello/doc
credo-report:
path: hello/credo.html
sobelow-report:
path: hello/sobelow.html