Skip to content

Commit

Permalink
Update c-cpp.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mathusanm6 authored Nov 29, 2023
1 parent 2de0a76 commit d75790c
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,44 @@ jobs:
path: |
./bin/
./obj/
test:
name: Test
needs: build
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Run tests
run: make test

- name: Upload artifacts
uses: actions/upload-artifact@v3
if: always()
with:
name: test-artifacts
path: |
./bin/
./obj/
check-format:
name: Check Format
needs: test
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Check code format
run: make check-format

milestone1:
name: Milestone 1
needs: check-format
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Run Milestone 1 tests
run: ./Projet_test.sh

0 comments on commit d75790c

Please sign in to comment.