blob: 41f22810450551d62619523b34f3be45d7adf0c5 [file] [log] [blame]
name: Test after any code changes
on:
workflow_dispatch:
push:
paths:
- '**.c'
- '**.h'
- '**.py'
pull_request:
paths:
- '**.c'
- '**.h'
- '**.py'
jobs:
smoke_test:
name: Run test suite on Ubuntu 20.04
runs-on: ubuntu-20.04
steps:
- name: Check out code from GitHub
uses: actions/checkout@v2
with:
path: nanopb
- name: Install dependencies
run: |
sudo apt-get install python3-protobuf protobuf-compiler scons splint valgrind
- name: Run tests
run: |
cd nanopb/tests
scons
fuzz_tests:
needs: smoke_test
uses: ./.github/workflows/cifuzz.yml
binary_builds:
needs: smoke_test
uses: ./.github/workflows/binary_packages.yml