femtoTCP/.forgejo/workflows/units.yml

34 lines
545 B
YAML
Raw Normal View History

2024-11-14 00:26:43 +01:00
Name: Unit Tests
on:
push:
branches: [ 'master', 'main', 'release/**' ]
pull_request:
branches: [ '*' ]
jobs:
unit_test:
2024-11-14 00:27:10 +01:00
runs-on: ubuntu-22.04
2024-11-14 00:26:43 +01:00
steps:
- uses: actions/checkout@v2
with:
submodules: true
2024-11-14 00:32:16 +01:00
- name: Update repo
run: |
sudo apt-get update
- name: Install check
run: |
sudo apt-get -y install check
2024-11-14 00:26:43 +01:00
- name: Build unit tests
run: |
make unit
- name: Run unit tests
run: |
2024-11-16 07:34:11 +01:00
build/test/unit