This repository has been archived on 2026-05-11. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
prog-104-p-02-2030/.gitea/workflows/tets.yaml
T
lucas ccf8075da7
Tests Basics avec Criterion / test (push) Failing after 4s
test n3
2026-04-02 02:06:52 +02:00

33 lines
899 B
YAML

name: Tests Basics avec Criterion
on: [push]
jobs:
test:
runs-on: ubuntu-latest
container:
# On utilise la version Alpine contenant Node.js 20
image: node:20-alpine
steps:
- name: Récupérer le code
uses: actions/checkout@v4
- name: Installer GCC et Criterion sur Alpine
# La commande apk fonctionne toujours car c'est un système Alpine
run: |
apk add --no-cache gcc musl-dev
apk add --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing criterion-dev
- name: Compiler les tests
run: >
gcc -Wall -Wextra
-I./Chains_across_the_Island/Fundamentals/basics
-o tests
Chains_across_the_Island/Fundamentals/basics/basics.c
tests/test_basics.c
-lcriterion
- name: Exécuter les tests
run: ./tests