From 00d4a62bf6a5d02cf4b34f6169d7630298ebd11b Mon Sep 17 00:00:00 2001 From: Christophe Vandeplas Date: Mon, 17 Jun 2024 17:25:35 +0200 Subject: [PATCH 1/2] chg: [tests] checks for up2date README --- .github/workflows/pytest.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 6466db4..2ba6cae 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -51,3 +51,10 @@ jobs: pushd PyMISPGalaxies poetry run pytest --cov=pymispgalaxies tests/tests.py popd + + - name: Test updated README.md + run: | + pushd tools + python3 update_README_with_index.py + git diff --exit-code README.md + popd From 1b34a4945357f5ebdfb4383d9db54ea96c6f9853 Mon Sep 17 00:00:00 2001 From: Christophe Vandeplas Date: Mon, 17 Jun 2024 18:00:22 +0200 Subject: [PATCH 2/2] fix: [tests] readme git diff --- .github/workflows/pytest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 2ba6cae..ce9cacc 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -56,5 +56,5 @@ jobs: run: | pushd tools python3 update_README_with_index.py - git diff --exit-code README.md + git diff --exit-code ../README.md popd