Skip to content

fixing pointer location #10

fixing pointer location

fixing pointer location #10

# **************************************************************************** #
# #
# ::: :::::::: #
# tester_builder.yml :+: :+: :+: #
# +:+ +:+ +:+ #
# By: umeneses <umeneses@student.42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2024/05/09 19:12:18 by umeneses #+# #+# #
# Updated: 2024/06/03 19:22:34 by umeneses ### ########.fr #
# #
# **************************************************************************** #
name: tester_builder
on:
push:
branches:
- main
- 'feature/**'
- 'bugfix/**'
- 'release/**'
pull_request:
branches:
- main
- 'feature/**'
- 'bugfix/**'
- 'release/**'
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./_ci_tdd/
steps:
- name: Starting github actions
uses: actions/checkout@v4.1.4
- name: Setup CUnit
run: sudo apt-get update && sudo apt-get install -y libcunit1 libcunit1-doc libcunit1-dev
- name: Running Tester Makefile
run: make
- name: Setup Valgrind
run: sudo apt-get update | sudo apt-get install -y valgrind
- name: Running Valgrind
run: valgrind --track-origins=yes --leak-check=full -q ./push_swap.tests
- name: Install Python
uses: actions/setup-python@v5.1.0
with:
python-version: '3.10'
- name: Install Python Dependencies
run: python -m pip install --upgrade pip setuptools
- name: Install Norminette
run: python -m pip install norminette
- name: Running Norminette
run: norminette -R CheckForbiddenSourceHeader ../program_to_test/headers/ ../program_to_test/libs/ ../program_to_test/src/
# :: github actions documentation ::
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions