From 15381a4f3fd51c1c93c6fd960f1c28a305e60c2e Mon Sep 17 00:00:00 2001 From: Mario Rohana Date: Mon, 6 Jan 2025 11:55:27 +0200 Subject: [PATCH 1/3] added update_projects_table check to the ci --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 67b801a6..482f6ffd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,6 +27,11 @@ jobs: run: | ruff check --output-format github . ruff format --check . + - name: Run update_projects_table.py + run: python update_projects_table.py + - name: Verify no changes to README.md + run: | + git diff --name-only --exit-code README.md # (Enable this step once we have unit tests) # - name: Test with pytest # run: pytest -v From a384778396234dd8f38c3f34747876716396a342 Mon Sep 17 00:00:00 2001 From: Daniel Abraham Date: Mon, 6 Jan 2025 11:11:24 -0800 Subject: [PATCH 2/3] Apply suggestions from code review --- .github/workflows/ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 482f6ffd..d9f5012e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,11 +27,10 @@ jobs: run: | ruff check --output-format github . ruff format --check . - - name: Run update_projects_table.py - run: python update_projects_table.py - - name: Verify no changes to README.md + - name: Verify README.md is up to date run: | - git diff --name-only --exit-code README.md + python update_projects_table.py + git diff --name-only --exit-code README.md # (Enable this step once we have unit tests) # - name: Test with pytest # run: pytest -v From 9101b022fd84e335b5785b58dad9e3faf77a385d Mon Sep 17 00:00:00 2001 From: Daniel Abraham Date: Mon, 6 Jan 2025 11:12:00 -0800 Subject: [PATCH 3/3] Update .github/workflows/ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d9f5012e..b10d1b0b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: - name: Verify README.md is up to date run: | python update_projects_table.py - git diff --name-only --exit-code README.md + git diff --name-only --exit-code README.md # (Enable this step once we have unit tests) # - name: Test with pytest # run: pytest -v