femtoTCP/.forgejo/workflows/units.yml
Daniele Lacamera 5c3cd8bf1e
All checks were successful
/ unit_test (push) Successful in 42s
New tree; draft for posix support
2024-11-16 07:34:11 +01:00

33 lines
545 B
YAML

Name: Unit Tests
on:
push:
branches: [ 'master', 'main', 'release/**' ]
pull_request:
branches: [ '*' ]
jobs:
unit_test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Update repo
run: |
sudo apt-get update
- name: Install check
run: |
sudo apt-get -y install check
- name: Build unit tests
run: |
make unit
- name: Run unit tests
run: |
build/test/unit