Skip to content

Added macros to denote OK and KO + more tests implemented #27

Added macros to denote OK and KO + more tests implemented

Added macros to denote OK and KO + more tests implemented #27

Workflow file for this run

name: test
on:
push:
branches: [master]
paths:
- 'include/**'
- 'src/**'
- 'test/**'
- 'carbon.h'
pull_request:
branches: [master]
types: [opened, synchronize]
paths:
- 'include/**'
- 'src/**'
- 'test/**'
- 'carbon.h'
schedule:
- cron: '0 0 * * 1'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false
jobs:
test:
permissions:
security-events: write
runs-on: ubuntu-latest
steps:
- name: checkout-repo
uses: actions/checkout@v4
- name: setup-codeql
uses: github/codeql-action/init@v3
with:
languages: c-cpp
- name: test
run: |
gcc -I test/include -I . -std=c99 test/src/* -o test/carbon
./test/carbon
- name: test-results-report
if: ${{ always() }}
uses: test-summary/action@v2
with:
paths: carbon_results.xml
- name: analyze
uses: github/codeql-action/analyze@v3