femtoTCP/.forgejo/workflows/units.yml
Daniele Lacamera 58eeefda8f
All checks were successful
/ unit_test (push) Successful in 44s
Fixed dependencies for unit tests
2024-11-14 00:32:16 +01:00

33 lines
544 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: |
test/unit/unit