Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hernanatn committed Jan 14, 2025
1 parent c137c33 commit daf36ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/pruebas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,9 @@ jobs:
uses: actions/github-script@v6
with:
script: |
// Determinar el resultado de las pruebas
const testOutcome = steps.ejecutar_pruebas.outcome === 'success' ?
// Obtener el estado del paso 'Ejecutar Pruebas'
const testStep = jobs['construir-y-probar'].steps.find(step => step.id === 'ejecutar_pruebas');
const testOutcome = testStep?.conclusion === 'success' ?
'✔ Todas las pruebas pasaron correctamente.' :
'❌ Las pruebas fallaron.';
const comment = `Resultado de las pruebas:\n\n${testOutcome}`;
Expand Down
1 change: 0 additions & 1 deletion pruebas/ejemplo_division.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#pragma once
#include "errores--.hpp"
#include <iostream>

res::Resultado<int> dividir(int a, int b) {
if (b == 0) {
Expand Down

0 comments on commit daf36ab

Please sign in to comment.