From 7eb4c5b81ce9d1e1da578f498d1df72685abd19d Mon Sep 17 00:00:00 2001 From: rettigl Date: Mon, 4 Mar 2024 19:43:39 +0100 Subject: [PATCH] run tests and linting in all branches, but exclude pyproject.toml --- .github/workflows/linting.yml | 2 -- .github/workflows/testing_coverage.yml | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index 1937452..0097ca6 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -3,8 +3,6 @@ name: linting # Triggers the workflow on push for all branches on: push: - branches: - - '*' paths-ignore: pyproject.toml diff --git a/.github/workflows/testing_coverage.yml b/.github/workflows/testing_coverage.yml index e22efcb..90e0b77 100644 --- a/.github/workflows/testing_coverage.yml +++ b/.github/workflows/testing_coverage.yml @@ -3,8 +3,8 @@ name: pytest and coverage report # Triggers the workflow on push for all branches and PR only for main on: push: - branches: - - '*' + paths-ignore: + pyproject.toml pull_request: branches: - main