From 2dfeb940f566a908dd8358a650ffd61f4b97fc93 Mon Sep 17 00:00:00 2001 From: Anelio Alvarez Date: Wed, 8 Nov 2023 03:54:03 -0300 Subject: [PATCH] se agregan los demas steps para testear modulo player y card --- .github/workflows/testing-ci.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/testing-ci.yaml b/.github/workflows/testing-ci.yaml index 837749c..e41103f 100644 --- a/.github/workflows/testing-ci.yaml +++ b/.github/workflows/testing-ci.yaml @@ -20,5 +20,15 @@ jobs: - name: Test Game module run: | - poetry run pytest $TEST_DIRECTORY/game_tests + poetry run coverage run -m pytest $TEST_DIRECTORY/game_tests + rm -f $TEST_DB_FILE + + - name: Test Player module + run: | + poetry run coverage run -m pytest $TEST_DIRECTORY/player_tests + rm -f $TEST_DB_FILE + + - name: Test Card module + run: | + poetry run coverage run -m pytest $TEST_DIRECTORY/card_tests rm -f $TEST_DB_FILE