Skip to content

wip: csr

wip: csr #78

Workflow file for this run

name: Erlang CI
on:
push:
pull_request:
permissions:
contents: read
jobs:
build:
continue-on-error: false
strategy:
fail-fast: false
matrix:
erlang:
# - "26.2.5.20"
# - "27.3.4.11"
- "28.5"
- "29.0"
runs-on: ubuntu-latest
container:
image: erlang:${{ matrix.erlang }}
permissions:
checks: write
pull-requests: write
steps:
- uses: actions/checkout@v6
- name: Compile
run: rebar3 compile
- name: Run tests
run: rebar3 do eunit --cover, cover, covertool generate
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2.20.0
if: (!cancelled())
with:
files: |
_build/test/surefire/*.xml
- name: Code Coverage Summary Report
uses: irongut/CodeCoverageSummary@v1.3.0
with:
filename: _build/test/covertool/erl509.covertool.xml
format: markdown
output: both
- name: Attach Code Coverage Summary Report
run: |
cat code-coverage-results.md
cat code-coverage-results.md >> $GITHUB_STEP_SUMMARY