Skip to content

Réactiver CodeCov #1280

Réactiver CodeCov

Réactiver CodeCov #1280

Workflow file for this run

name: Serveur WS
concurrency:
group: tests-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches:
- principale
pull_request:
branches:
- principale
jobs:
tests-binaire:
name: Ligne de commande
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Préparation de Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Installer pnpm
uses: pnpm/[email protected]
with:
version: latest
- name: Ouvrir la branche
uses: actions/checkout@v4
- name: Installer
run: pnpm install
- name: Vérifier les tests
run: pnpm test:binaire
- name: Envoyer couverure à Codecov
uses: codecov/codecov-action@v4
tests-processus:
name: Processus
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Préparation de Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Installer pnpm
uses: pnpm/[email protected]
with:
version: latest
- name: Ouvrir la branche
uses: actions/checkout@v4
- name: Installer
run: pnpm install
- name: Vérifier les tests
run: pnpm test:processus
- name: Envoyer couverure à Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}