diff --git a/.github/workflows/pruebas.yml b/.github/workflows/pruebas.yml index 2685b1d..b01f63a 100644 --- a/.github/workflows/pruebas.yml +++ b/.github/workflows/pruebas.yml @@ -23,11 +23,11 @@ jobs: - name: Instalar Ninja run: | - choco upgrade ninja + choco install ninja - name: Configurar Clang y CMake run: | - choco upgrade llvm + choco install llvm echo "CMake version: $(cmake --version)" echo "Clang version: $(clang --version)" cmake -S . -B build -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_CXX_STANDARD=20 -G "Ninja" @@ -51,7 +51,6 @@ jobs: uses: actions/github-script@v6 with: script: | - const core = require('@actions/core'); const github = require('@actions/github'); // Determine the outcome of the 'Ejecutar Pruebas' step diff --git a/pruebas/pruebas.cpp b/pruebas/pruebas.cpp index 37cf908..926de2b 100644 --- a/pruebas/pruebas.cpp +++ b/pruebas/pruebas.cpp @@ -277,7 +277,6 @@ int main(int argc, char* argv[]) { if (codigo == 0) { codigo = session.run(); } - // Devolver 1 si alguna prueba falló. return (codigo == 0) ? 0 : 1; } \ No newline at end of file