From 2f38a70161f7f939283e592a359736c30efc1a35 Mon Sep 17 00:00:00 2001 From: Guillaume Chervet Date: Mon, 12 Feb 2024 14:01:36 +0100 Subject: [PATCH 1/2] Update main.yml --- .github/workflows/main.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9c4c4cfe..6d6d5692 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -96,15 +96,15 @@ jobs: - name: Run unit tests Extraction working-directory: train/extraction run: | - poetry lock - poetry install - #poetry run coverage run -m unittest tests.extraction_test - #poetry run coverage report + # poetry lock + poetry install --no-root + poetry run coverage run -m unittest tests.extraction_test + poetry run coverage report - name: Run unit tests Label Split Data working-directory: train/label_split_data run: | - poetry lock - poetry install + # poetry lock + poetry install poetry install --no-root poetry run coverage run -m unittest tests.label_split_data_test poetry run coverage report #- name: Run unit tests Train From a4582144919fd87d48fd2dd89caf13f71a1c60c6 Mon Sep 17 00:00:00 2001 From: Guillaume Chervet Date: Mon, 12 Feb 2024 14:47:14 +0100 Subject: [PATCH 2/2] Update main.yml --- .github/workflows/main.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6d6d5692..5a8b0c28 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -89,22 +89,20 @@ jobs: run: | python -m pip install --upgrade pip pip install --user poetry - - name: Build packages - run: | chmod +x ./Makefile ./Makefile - name: Run unit tests Extraction working-directory: train/extraction run: | # poetry lock - poetry install --no-root + # poetry install --no-root poetry run coverage run -m unittest tests.extraction_test poetry run coverage report - name: Run unit tests Label Split Data working-directory: train/label_split_data run: | # poetry lock - poetry install poetry install --no-root + # poetry install poetry install --no-root poetry run coverage run -m unittest tests.label_split_data_test poetry run coverage report #- name: Run unit tests Train