Skip to content

Builtin Makefiles and heredoc #129

Builtin Makefiles and heredoc

Builtin Makefiles and heredoc #129

name: Test acceptance
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
pip install pytest
pip install norminette
- name: Norminette
run: |
python3 -m norminette ./src
python3 -m norminette ./includes
python3 -m norminette ./lib/libft
- name: Make
run: |
make
- name: Unit test
run: |
make unit_test
- name: Acceptances test
working-directory: ./test
run: |
pytest test_acceptances.py