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 be0f741..01491f5 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -2,14 +2,17 @@ name: Build html using Sphinx and upload to Github-pages on: push: - branches: [ "main" ] + 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 }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8f1f074..5cbf745 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -2,7 +2,10 @@ name: Run unittests on: pull_request: - branches: [ "main" ] + 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