Skip to content

Add Code workspace configuration + missing test case (#177) #65

Add Code workspace configuration + missing test case (#177)

Add Code workspace configuration + missing test case (#177) #65

Workflow file for this run

name: Run Unit Tests
on:
push:
branches: [master]
pull_request:
types: [opened, synchronize, ready_for_review]
paths:
- '.github/**'
- 'src/**'
- 'tests/**'
- 'makefile'
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-22.04
if: github.repository_owner == 'sisoputnfrba' && ! github.event.pull_request.draft
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y --no-install-recommends cmake valgrind
- name: Build project
run: make debug
- name: Run unit tests with Valgrind
run: make valgrind