From e5fe3d7f58d313e4ed2ce0c70d9500b5019f9c60 Mon Sep 17 00:00:00 2001 From: Yurii Momotenko Date: Mon, 11 Mar 2024 18:06:42 +0100 Subject: [PATCH 1/3] Add pipeline to be run on PRs --- .github/workflows/test.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 6119a4b..c0c5704 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -1,6 +1,8 @@ name: test -on: push +on: + push: + pull_request: jobs: linting: From 3839bc916ee5c37b9fcfcb3068d675ff8e0538e2 Mon Sep 17 00:00:00 2001 From: Yurii Momotenko Date: Mon, 11 Mar 2024 18:08:10 +0100 Subject: [PATCH 2/3] Fix linter --- .github/workflows/test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index c0c5704..6f4e4c9 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -24,7 +24,7 @@ jobs: #---------------------------------------------- # install and run linters #---------------------------------------------- - - run: python -m pip install black flake8 isort + - run: python -m pip install black==23.11.0 flake8 isort - run: | flake8 . black . --check From 0f3706edb06a776487c2e2d842d3a86eb4f2c6d4 Mon Sep 17 00:00:00 2001 From: Yurii Momotenko Date: Fri, 29 Mar 2024 14:28:34 +0100 Subject: [PATCH 3/3] Fix pipeline to be run once --- .github/workflows/test.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 6f4e4c9..21590c8 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -1,7 +1,6 @@ name: test on: - push: pull_request: jobs: