Skip to content

Merge pull request #1584 from atsign-foundation/dependabot/github_act… #333

Merge pull request #1584 from atsign-foundation/dependabot/github_act…

Merge pull request #1584 from atsign-foundation/dependabot/github_act… #333

Workflow file for this run

name: C Unit Tests
on:
workflow_dispatch:
push:
branches: [trunk]
pull_request:
branches: [trunk]
permissions: # added using https://github.com/step-security/secure-repo
contents: read
jobs:
unit-tests:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: sshnpd Unit CTest
working-directory: packages/c
run: |
cmake -S . -B build -DSSHNPD_BUILD_TESTS=ON
cmake --build build
ctest --test-dir build/sshnpd/tests --output-on-failure --timeout 2