diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index d2b54ea..21bf0d4 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -1,5 +1,16 @@ name: Workflow for Codecov conjugate -on: [push, pull_request] + +on: + push: + paths: + - "conjugate/**" + - "pyproject.toml" + + pull_request: + paths: + - "conjugate/**" + - "pyproject.toml" + jobs: run: runs-on: ubuntu-latest diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1b54c65..fd6cc2a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,7 +1,11 @@ name: Tests on: - - push + push: + paths: + - "conjugate/**" + - "pyproject.toml" + jobs: test: @@ -9,7 +13,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest] - python-version: ['3.10', '3.11', '3.12'] + python-version: ["3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v2