Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Build and run SuperFW tests #55

Build and run SuperFW tests

Build and run SuperFW tests #55

Workflow file for this run

name: SuperFW test
run-name: Build and run SuperFW tests
on: [push]
jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- name: Install dependencies
run: sudo apt-get install gcc lcov
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: 'true'
- name: Get short SHA
id: slug
run: echo "sha8=$(echo ${GITHUB_SHA} | cut -c1-8)" >> $GITHUB_OUTPUT
- name: Build and run tests
run: cd tests && make
- name: Upload coverage report
if: ${{ success() }}
uses: actions/upload-artifact@v4
with:
name: test-coverage-${{ steps.slug.outputs.sha8 }}
path: tests/coverage/*