Skip to content

Merge pull request #734 from danielinux/refactoring-ci-workflows #2756

Merge pull request #734 from danielinux/refactoring-ci-workflows

Merge pull request #734 from danielinux/refactoring-ci-workflows #2756

Workflow file for this run

name: Unit tests
on:
push:
branches: [ 'master', 'main', 'release/**' ]
pull_request:
branches: [ '*' ]
jobs:
unit_tests:
runs-on: ubuntu-latest
container:
image: ghcr.io/wolfssl/wolfboot-ci-sim:v1.0
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Trust workspace
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: make clean
run: |
make keysclean && make -C tools/keytools clean && rm -f include/target.h
- name: Build unit tests
run: |
make -C tools/unit-tests
- name: Run unit tests
run: |
make -C tools/unit-tests run