From 3063de9970864d5376994a7c00410c52a640a052 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stiof=C3=A1in=20Fordham?= <17852477+sdfordham@users.noreply.github.com> Date: Tue, 26 Nov 2024 12:36:35 +0100 Subject: [PATCH 1/5] Update codecov.yml folder filter --- .github/workflows/codecov.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 85e61ed..27e64bd 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -3,8 +3,14 @@ name: Generate Code Coverage report and upload to codecov.io on: pull_request: branches: [ "main" ] + paths: + - "pysyncon/**" + - "tests/**" push: branches: [ "main" ] + paths: + - "pysyncon/**" + - "tests/**" permissions: contents: read From 862e7f00ef4294c02d23543b79fdcfc0f7b80cdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stiof=C3=A1in=20Fordham?= <17852477+sdfordham@users.noreply.github.com> Date: Tue, 26 Nov 2024 12:39:57 +0100 Subject: [PATCH 2/5] Update pages.yml folder filter and platform --- .github/workflows/pages.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index be0f741..168788e 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -3,13 +3,16 @@ name: Build html using Sphinx and upload to Github-pages on: push: branches: [ "main" ] + paths: + - "pysyncon/**" + - "doc/**" permissions: contents: read jobs: pages: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} From 5e82ebaa4093128f01520a5d156da4e7a4564ef7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stiof=C3=A1in=20Fordham?= <17852477+sdfordham@users.noreply.github.com> Date: Tue, 26 Nov 2024 12:42:18 +0100 Subject: [PATCH 3/5] Update tests.yml folder filter and add py3.12 --- .github/workflows/tests.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8f1f074..f5bdf2b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -3,7 +3,10 @@ name: Run unittests on: pull_request: branches: [ "main" ] - + paths: + - "pysyncon/**" + - "tests/**" + permissions: contents: read @@ -13,7 +16,7 @@ jobs: fail-fast: false matrix: buildplat: [ubuntu-20.04, windows-2019] - python: ["3.8", "3.9", "3.10", "3.11"] + python: ["3.8", "3.9", "3.10", "3.11", "3.12"] runs-on: ${{ matrix.buildplat }} steps: - name: Checkout From db08d6270f598b7b2be91d4f0364e65972db683e Mon Sep 17 00:00:00 2001 From: Stiofain Fordham <17852477+sdfordham@users.noreply.github.com> Date: Tue, 26 Nov 2024 12:48:12 +0100 Subject: [PATCH 4/5] Testing workflow edits --- .github/workflows/codecov.yml | 6 ------ .github/workflows/pages.yml | 3 --- .github/workflows/tests.yml | 3 --- 3 files changed, 12 deletions(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 27e64bd..85e61ed 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -3,14 +3,8 @@ name: Generate Code Coverage report and upload to codecov.io on: pull_request: branches: [ "main" ] - paths: - - "pysyncon/**" - - "tests/**" push: branches: [ "main" ] - paths: - - "pysyncon/**" - - "tests/**" permissions: contents: read diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 168788e..80adc2a 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -3,9 +3,6 @@ name: Build html using Sphinx and upload to Github-pages on: push: branches: [ "main" ] - paths: - - "pysyncon/**" - - "doc/**" permissions: contents: read diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f5bdf2b..6a28c9f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -3,9 +3,6 @@ name: Run unittests on: pull_request: branches: [ "main" ] - paths: - - "pysyncon/**" - - "tests/**" permissions: contents: read From ad706d73505629e9ea00061df4f8b75e94b68f1b Mon Sep 17 00:00:00 2001 From: Stiofain Fordham <17852477+sdfordham@users.noreply.github.com> Date: Tue, 26 Nov 2024 13:14:55 +0100 Subject: [PATCH 5/5] Re add workflow filters --- .github/workflows/codecov.yml | 10 ++++++++-- .github/workflows/lint.yml | 6 +++++- .github/workflows/pages.yml | 5 ++++- .github/workflows/tests.yml | 7 +++++-- 4 files changed, 22 insertions(+), 6 deletions(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 85e61ed..d92eb48 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -2,9 +2,15 @@ name: Generate Code Coverage report and upload to codecov.io on: pull_request: - branches: [ "main" ] + branches: main + paths: + - "pysyncon/**" + - "tests/**" push: - branches: [ "main" ] + branches: main + paths: + - "pysyncon/**" + - "tests/**" permissions: contents: read diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 90186ce..97bf8a4 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -2,7 +2,11 @@ name: Lint codebase using Black on: pull_request: - branches: [ "main" ] + branches: main + paths: + - "pysyncon/**" + - "tests/**" + - "examples/**" permissions: contents: read diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 80adc2a..01491f5 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -2,7 +2,10 @@ name: Build html using Sphinx and upload to Github-pages on: push: - branches: [ "main" ] + branches: main + paths: + - "pysyncon/**" + - "doc/**" permissions: contents: read diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6a28c9f..5cbf745 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -2,8 +2,11 @@ name: Run unittests on: pull_request: - branches: [ "main" ] - + branches: main + paths: + - "pysyncon/**" + - "tests/**" + permissions: contents: read