mirror of
https://github.com/ringtailsoftware/uvm32.git
synced 2026-06-05 22:43:39 +00:00
36 lines
894 B
YAML
36 lines
894 B
YAML
name: CI
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
test:
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest]
|
|
runs-on: ${{matrix.os}}
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
with:
|
|
path: uvm32
|
|
- name: Build
|
|
run: make dockerbuild && make docker
|
|
working-directory: uvm32
|
|
- name: Code Coverage Report
|
|
uses: irongut/CodeCoverageSummary@v1.3.0
|
|
with:
|
|
filename: uvm32/test/coverage.xml
|
|
badge: true
|
|
fail_below_min: false
|
|
format: markdown
|
|
hide_branch_rate: false
|
|
hide_complexity: true
|
|
indicators: true
|
|
output: both
|
|
thresholds: '60 80'
|
|
- name: Archive code coverage results
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: code-coverage-report
|
|
path: uvm32/test/code-coverage-results.md
|
|
|