diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 4ecde89..bee3336 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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() diff --git a/.stoat/config.yaml b/.stoat/config.yaml new file mode 100644 index 0000000..26bd07e --- /dev/null +++ b/.stoat/config.yaml @@ -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