Merge pull request #20 from biralavor/19-bugfix-non-numbers-at-list-v… #58
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# **************************************************************************** # | |
# # | |
# ::: :::::::: # | |
# tester_builder.yml :+: :+: :+: # | |
# +:+ +:+ +:+ # | |
# By: umeneses <umeneses@student.42.fr> +#+ +:+ +#+ # | |
# +#+#+#+#+#+ +#+ # | |
# Created: 2024/05/09 19:12:18 by umeneses #+# #+# # | |
# Updated: 2024/06/28 19:08:00 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 |