Merge pull request #38 from AllanDantas21/fix_DCC_variable #86
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Valgrind Memory Leak Test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - fix_valgrind_test | |
| pull_request: | |
| branches: | |
| - main | |
| - fix_valgrind_test | |
| jobs: | |
| memory-leak: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Atualizar lista de pacotes | |
| run: sudo apt-get update | |
| - name: Instalar dependências | |
| run: sudo apt-get install -y valgrind | |
| - name: Conceder permissão de execução | |
| run: chmod +x tests/test_valgrind.sh | |
| - name: Compilar o projeto | |
| run: make | |
| - name: Rodar teste de vazamento de memória com Valgrind | |
| run: ./tests/test_valgrind.sh |