From 75c07470fa435c1ede605ab7fcb2519c0f133ecd Mon Sep 17 00:00:00 2001 From: Peter Bierma Date: Sun, 22 Dec 2024 14:34:39 -0500 Subject: [PATCH] Fix status checks. --- .github/workflows/memory_leak.yml | 4 ---- .github/workflows/memory_leak_noop.yml | 19 +++++++++++++++++++ .github/workflows/test_noop.yml | 21 +++++++++++++++++++++ 3 files changed, 40 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/memory_leak_noop.yml create mode 100644 .github/workflows/test_noop.yml diff --git a/.github/workflows/memory_leak.yml b/.github/workflows/memory_leak.yml index 343692d..3195e88 100644 --- a/.github/workflows/memory_leak.yml +++ b/.github/workflows/memory_leak.yml @@ -2,14 +2,10 @@ name: Memory Leaks on: push: - branches: - - master paths: - 'src/_pyawaitable/**' - '.github/workflows/memory_leak.yml' pull_request: - branches: - - master paths: - 'src/_pyawaitable/**' - '.github/workflows/memory_leak.yml' diff --git a/.github/workflows/memory_leak_noop.yml b/.github/workflows/memory_leak_noop.yml new file mode 100644 index 0000000..48a33d8 --- /dev/null +++ b/.github/workflows/memory_leak_noop.yml @@ -0,0 +1,19 @@ +name: Memory Leaks + +on: + push: + paths-ignore: + - 'src/_pyawaitable/**' + - '.github/workflows/memory_leak.yml' + pull_request: + paths-ignore: + - 'src/_pyawaitable/**' + - '.github/workflows/memory_leak.yml' + +jobs: + memory-leaks: + name: Check for memory leaks and errors + runs-on: ubuntu-latest + + steps: + - run: 'echo "This change does not affect C code."' \ No newline at end of file diff --git a/.github/workflows/test_noop.yml b/.github/workflows/test_noop.yml new file mode 100644 index 0000000..fa39ee6 --- /dev/null +++ b/.github/workflows/test_noop.yml @@ -0,0 +1,21 @@ +name: Tests + +on: + push: + paths: + - 'tests/**' + - 'src/**' + - '.github/workflows/tests.yml' + pull_request: + paths: + - 'tests/**' + - 'src/**' + - '.github/workflows/tests.yml' + +jobs: + run-tests: + name: Tests + runs-on: ubuntu-latest + + steps: + - run: 'echo "This change does not affect tests."' \ No newline at end of file