Workflow CI/CD finalisé et tests BATS (43/43 tests passent)
All checks were successful
Tests et Vérifications / Tests unitaires BATS (push) Successful in 15s
Tests et Vérifications / Vérification ShellCheck (push) Successful in 8s
Tests et Vérifications / Vérification syntaxe Bash (push) Successful in 3s
Tests et Vérifications / Résumé des tests (push) Successful in 1s
All checks were successful
Tests et Vérifications / Tests unitaires BATS (push) Successful in 15s
Tests et Vérifications / Vérification ShellCheck (push) Successful in 8s
Tests et Vérifications / Vérification syntaxe Bash (push) Successful in 3s
Tests et Vérifications / Résumé des tests (push) Successful in 1s
- Workflow simplifié: déclenchement main + manuel - Retrait sudo pour compatibilité container Docker - Tests robustes sans dépendance ZFS (43 tests) - Suppression fixtures et uploads inutiles - Création automatique répertoires STATE_DIR
This commit is contained in:
parent
e912d39f91
commit
d5a0429d2c
6 changed files with 234 additions and 276 deletions
|
|
@ -4,10 +4,7 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- main
|
||||
- 2.1
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
|
|
@ -20,8 +17,8 @@ jobs:
|
|||
|
||||
- name: Installation de BATS
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y bats
|
||||
apt-get update
|
||||
apt-get install -y bats
|
||||
|
||||
- name: Afficher version BATS
|
||||
run: bats --version
|
||||
|
|
@ -31,14 +28,6 @@ jobs:
|
|||
cd tests
|
||||
bats *.bats
|
||||
|
||||
- name: Upload résultats des tests
|
||||
if: always()
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: test-results
|
||||
path: tests/*.log
|
||||
retention-days: 7
|
||||
|
||||
shellcheck:
|
||||
name: Vérification ShellCheck
|
||||
runs-on: self-hosted
|
||||
|
|
@ -49,8 +38,8 @@ jobs:
|
|||
|
||||
- name: Installation de ShellCheck
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y shellcheck
|
||||
apt-get update
|
||||
apt-get install -y shellcheck
|
||||
|
||||
- name: Afficher version ShellCheck
|
||||
run: shellcheck --version
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue