From a327a681ac7cd13d7941d269d48a5f1f99374c6c Mon Sep 17 00:00:00 2001 From: Guilhem Saurel Date: Tue, 9 Apr 2024 09:03:48 +0200 Subject: [PATCH] ci: run pytest --- .github/workflows/conda-test.yml | 4 +++- .github/workflows/pip-test.yml | 4 +++- .github/workflows/poetry-test.yml | 10 ++++++---- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/conda-test.yml b/.github/workflows/conda-test.yml index 27fdba6e..e0b16795 100644 --- a/.github/workflows/conda-test.yml +++ b/.github/workflows/conda-test.yml @@ -67,4 +67,6 @@ jobs: refiner-bop-hope-pbr--955392 - name: Run tests - run: python -m unittest + run: | + python -m unittest + pytest diff --git a/.github/workflows/pip-test.yml b/.github/workflows/pip-test.yml index 7e05aac7..36537b69 100644 --- a/.github/workflows/pip-test.yml +++ b/.github/workflows/pip-test.yml @@ -45,4 +45,6 @@ jobs: refiner-bop-hope-pbr--955392 - name: Run tests - run: python -m unittest + run: | + python -m unittest + pytest diff --git a/.github/workflows/poetry-test.yml b/.github/workflows/poetry-test.yml index 2d177472..6ebe0afd 100644 --- a/.github/workflows/poetry-test.yml +++ b/.github/workflows/poetry-test.yml @@ -46,11 +46,13 @@ jobs: refiner-bop-hope-pbr--955392 - name: Run tests - run: poetry run coverage run --source=happypose -m unittest + run: | + poetry run coverage run --source=happypose -m unittest + poetry run coverage run --source=happypose -m pytest - name: Process coverage run: poetry run coverage xml - - uses: codecov/codecov-action@v4 - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + #- uses: codecov/codecov-action@v4 + #env: + #CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}