Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1 from malatinipro/ci
Browse files Browse the repository at this point in the history
refactor
  • Loading branch information
mahautlatinis authored Oct 3, 2023
2 parents f98ab1d + 0d2d493 commit f29337b
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 3 deletions.
Binary file removed .DS_Store
Binary file not shown.
17 changes: 17 additions & 0 deletions .github/workflows/norminette.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: norminette

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
norminette_job:
runs-on: ubuntu-latest
name: norminette
steps:
- uses: actions/checkout@v2
- uses: alexandregv/norminette-action@v3
with:
flags: './get_next_line/'
18 changes: 18 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: tests

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:

runs-on: macos-latest

steps:
- uses: actions/checkout@v3
- name: tests
run: make
shell: bash
4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,4 @@ OBJS_BONUS = ${SRC_B:.c=.o}
NAME = get_next_line

all: ${NAME}
./tester/GNL_lover.sh

.PHONY: all
cd tester; ./GNL_lover.sh

0 comments on commit f29337b

Please sign in to comment.