mirror of
https://github.com/open62541/open62541.git
synced 2025-06-03 04:00:21 +00:00
33 lines
800 B
YAML
33 lines
800 B
YAML
name: "Coverage Test"
|
|
on:
|
|
push:
|
|
branches: [ main, master ]
|
|
tags:
|
|
- v1.*
|
|
pull_request:
|
|
branches: [ main, master ]
|
|
|
|
jobs:
|
|
run:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Install Dependencies
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y -qq python3-sphinx graphviz check libmbedtls-dev mosquitto
|
|
- name: Fetch
|
|
uses: actions/checkout@v4
|
|
with:
|
|
submodules: true
|
|
- name: Execute Tests
|
|
run: source tools/ci/ci.sh && unit_tests_with_coverage
|
|
env:
|
|
ETHERNET_INTERFACE: eth0
|
|
- name: Debug print
|
|
run: |
|
|
tree .
|
|
- name: Upload coverage to Codecov
|
|
uses: codecov/codecov-action@v5
|
|
env:
|
|
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|